Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
created 2003 · complexity intermediate · author Daniel Molina · version 6.0
To complete syntax words, you can use omnicompletion:
And then CTRL-X CTRL-O to activate completion.
A more robust solution from :help ft-syntax-omni
if has("autocmd") && exists("+omnifunc") autocmd Filetype * \ if &omnifunc == "" | \ setlocal omnifunc=syntaxcomplete#Complete | \ endif endif
This version will avoid changing omnifunc if it's already set (presumably to something more comprehensive).