diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-03-26 17:14:02 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-03-26 17:14:02 +0200 |
commit | 77942d2c2258f580a0e49ffce863ca55f433a017 (patch) | |
tree | 8ddf09448bef69b12d86e799969475e92455e3a1 | |
parent | 4ab26b5913de8e313bcede8819b65e17891f6417 (diff) | |
download | vim-77942d2c2258f580a0e49ffce863ca55f433a017.zip vim-77942d2c2258f580a0e49ffce863ca55f433a017.tar.gz |
add omnifunc basic setup
-rw-r--r-- | vimrc | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -77,5 +77,16 @@ if has("autocmd") \ exe "normal g`\"" | \ endif + autocmd FileType python set omnifunc=pythoncomplete#Complete + autocmd FileType ruby set omnifunc=rubycomplete#Complete + autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS + autocmd FileType html set omnifunc=htmlcomplete#CompleteTags + autocmd FileType css set omnifunc=csscomplete#CompleteCSS + autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags + autocmd FileType php set omnifunc=phpcomplete#CompletePHP + autocmd FileType c set omnifunc=ccomplete#Completeset + + "set tags+=~/share/ctags/efl.tags + endif " has("autocmd") |