mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-22 03:34:10 -05:00
Don't test for autocmd
This commit is contained in:
parent
e8413330cf
commit
21ba96d480
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue