vim-settings/vim/rc/plugins/omnicompletion.rc.vim
ViViDboarder c16f793fb8 Pass lint
2019-10-24 13:58:45 -07:00

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