mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-14 05:16:26 +00:00
9 lines
450 B
VimL
9 lines
450 B
VimL
augroup ftomni
|
|
autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS
|
|
autocmd FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTags
|
|
autocmd FileType javascript setlocal omnifunc=javascriptcomplete#CompleteJS
|
|
autocmd FileType python setlocal omnifunc=jedi#completions
|
|
autocmd FileType ruby setlocal omnifunc=rubycomplete#Complete
|
|
autocmd FileType xml setlocal omnifunc=xmlcomplete#CompleteTags
|
|
augroup end
|