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
1 changed files with 4 additions and 0 deletions

4
vimrc
View File

@ -4,3 +4,7 @@
" Set up the runtime path
set runtimepath=$VIMRUNTIME,$HOME/.config/nvim,$HOME/.vim
let &rtp=&rtp.','.expand('<sfile>:p:h').'/vim'
if has("nvim")
lua pcall(require, "plugins")
end