summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 4fba152..5e021ac 100644
--- a/vimrc
+++ b/vimrc
@@ -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")