mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Add OCaml completion support to Vim
This commit is contained in:
parent
49a0e554ac
commit
a45e03c0b2
6
.vimrc
6
.vimrc
@ -1,5 +1,4 @@
|
||||
set nocompatible " be iMproved, required
|
||||
filetype off " required
|
||||
|
||||
syntax enable
|
||||
set tabstop=4
|
||||
@ -39,6 +38,11 @@ Plugin 'jiangmiao/auto-pairs'
|
||||
|
||||
call vundle#end()
|
||||
|
||||
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']
|
||||
|
||||
" YouCompleteMe python fix
|
||||
let g:ycm_server_python_interpreter = '/usr/bin/python3'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user