commit c6539b0278de2db7a5fc44a17d88839226f4027e
parent 079d0cef6fceab111a9975a1556b90bc388cd3d0
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Thu, 13 Jun 2019 20:32:44 +0200
vim: only source autocmds if vim supports them
Former-commit-id: 28f464f28d1c59caf8c0ae2fe305d001bc73ca93
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/vim/init.vimrc b/vim/init.vimrc
@@ -3,5 +3,7 @@ source $DOTFILES/vim/editor.vimrc
source $DOTFILES/vim/commands.vimrc
source $DOTFILES/vim/symbols.vimrc
source $DOTFILES/vim/map.vimrc
-source $DOTFILES/vim/autocmd.vimrc
+if has('autocmd')
+ source $DOTFILES/vim/autocmd.vimrc
+endif
source $DOTFILES/vim/plugins.vimrc