Skip to content

Instantly share code, notes, and snippets.

View lmansur's full-sized avatar

Lucas Mansur lmansur

View GitHub Profile
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin()
Plug 'thinca/vim-localrc' " Local .vimrc files
Plug 'vim-ruby/vim-ruby'
function! LightlineFiletype()
if &filetype ==? 'ruby'
return ''
elseif &filetype ==? 'javascript'
return ''
endif
return &filetype
endfunction