Skip to content

Instantly share code, notes, and snippets.

@yyq123
Created December 22, 2010 03:10
Show Gist options
  • Save yyq123/751037 to your computer and use it in GitHub Desktop.
Save yyq123/751037 to your computer and use it in GitHub Desktop.
vimrc-OmniFunc
if has("autocmd") && exists("+omnifunc")
autocmd Filetype *
\ if &omnifunc == "" |
\ setlocal omnifunc=syntaxcomplete#Complete |
\ endif
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment