From 21ba96d480e59b38f7ad84650ed0c0b97ce32393 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Tue, 13 Mar 2018 15:37:19 -0400 Subject: [PATCH] Don't test for autocmd --- vim/config/after.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/config/after.vim b/vim/config/after.vim index 3c498fb..6712c22 100644 --- a/vim/config/after.vim +++ b/vim/config/after.vim @@ -24,7 +24,7 @@ if (g:disablelinebreaks == 1) endif "enable omnicompletion for any filetype without that has syntax highlighting -if has("autocmd") && exists("+omnifunc") +if exists("+omnifunc") autocmd VimEnter,Filetype * if &omnifunc == ""|setlocal omnifunc=syntaxcomplete#Complete|endif endif