Add optional lua plugin loading in vimrc
This commit is contained in:
parent
2f039a282b
commit
1fa0879082
1 changed files with 4 additions and 0 deletions
4
vimrc
4
vimrc
|
@ -4,3 +4,7 @@
|
||||||
" Set up the runtime path
|
" Set up the runtime path
|
||||||
set runtimepath=$VIMRUNTIME,$HOME/.config/nvim,$HOME/.vim
|
set runtimepath=$VIMRUNTIME,$HOME/.config/nvim,$HOME/.vim
|
||||||
let &rtp=&rtp.','.expand('<sfile>:p:h').'/vim'
|
let &rtp=&rtp.','.expand('<sfile>:p:h').'/vim'
|
||||||
|
|
||||||
|
if has("nvim")
|
||||||
|
lua pcall(require, "plugins")
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in a new issue