mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-25 20:51:26 -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
|
endif
|
||||||
|
|
||||||
"enable omnicompletion for any filetype without that has syntax highlighting
|
"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
|
autocmd VimEnter,Filetype * if &omnifunc == ""|setlocal omnifunc=syntaxcomplete#Complete|endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue