Add optional lua plugin loading in vimrc

This commit is contained in:
Talia 2022-09-13 13:36:20 +02:00
parent 2f039a282b
commit 1fa0879082

4
vimrc
View file

@ -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