1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Explicitly define the omnifunc in vim

This commit is contained in:
Joe Groocock 2016-10-12 15:04:44 +01:00
parent 8bf6535379
commit f539ce921b

1
.vimrc
View File

@ -43,6 +43,7 @@ let g:opamshare = substitute(system('opam config var share'),'\n$','','''')
execute "set rtp+=" . g:opamshare . "/merlin/vim"
execute "set rtp+=" . g:opamshare . "/vim/syntax/ocp-indent.vim"
let g:syntastic_ocaml_checkers = ['merlin']
set omnifunc=syntaxcomplete#Complete
" YouCompleteMe python fix
let g:ycm_server_python_interpreter = '/usr/bin/python3'