Add syntastic through vundle, relativenumber

This commit is contained in:
Théophile Bastian 2017-02-07 16:14:59 +01:00
parent 389cfac294
commit 5eb391013c

View file

@ -3,6 +3,7 @@ filetype plugin on
set colorcolumn=80 set colorcolumn=80
set background=dark set background=dark
set number set number
set relativenumber
set tabstop=4 set tabstop=4
" set softtabstop=4 " set softtabstop=4
set shiftwidth=4 set shiftwidth=4
@ -32,6 +33,7 @@ Plugin 'LucHermitte/local_vimrc'
Plugin 'hynek/vim-python-pep8-indent' Plugin 'hynek/vim-python-pep8-indent'
Plugin 'tpope/vim-git' Plugin 'tpope/vim-git'
Plugin 'fs111/pydoc.vim' Plugin 'fs111/pydoc.vim'
Plugin 'vim-syntastic/syntastic'
call vundle#end() " required call vundle#end() " required
filetype plugin indent on " required filetype plugin indent on " required
@ -68,7 +70,7 @@ let g:opamshare = substitute(system('opam config var share'),'\n$','','''')
execute "set rtp+=" . g:opamshare . "/merlin/vim" execute "set rtp+=" . g:opamshare . "/merlin/vim"
let g:syntastic_ocaml_checkers = ['merlin'] let g:syntastic_ocaml_checkers = ['merlin']
"""" Ocp-indent (OCaml indentation) """" Ocp-indent (OCaml indentation)
execute "set rtp+=" . g:opamshare . "/ocp-indent/vim" set rtp^=g:opamshare."/ocp-indent/vim"
""""""""""""""""" Trailing whitespaces """"""""""""""""" Trailing whitespaces