2019-04-09 21:45:30 +00:00
|
|
|
set runtimepath^=~/.config/vim runtimepath+=~/.config/vim/after
|
|
|
|
let &packpath = &runtimepath
|
2019-04-09 20:55:18 +00:00
|
|
|
|
|
|
|
if empty(glob('~/.config/nvim/autoload/plug.vim'))"{{{
|
2019-04-10 09:54:25 +00:00
|
|
|
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs
|
2019-04-09 20:55:18 +00:00
|
|
|
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
|
|
|
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
|
|
|
endif
|
|
|
|
"}}}
|
|
|
|
|
2019-04-09 21:45:30 +00:00
|
|
|
source ~/.config/vim/vimrc
|
2019-04-10 09:54:25 +00:00
|
|
|
|
|
|
|
" set ruby program to global one. Need to investigate if this will cause
|
|
|
|
" problems if I ever use ruby virtual environments or RVM or similar.
|
|
|
|
let g:ruby_host_prog = '~/.gem/ruby/2.6.0/bin/neovim-ruby-host'
|