syntastic -> neomake

This commit is contained in:
Loic Nageleisen 2017-08-08 14:31:45 +02:00
parent 79d2aae7ef
commit 17a12c5bbb
2 changed files with 3 additions and 9 deletions

10
vimrc
View file

@ -88,13 +88,9 @@ if expand('%:t') =~? 'rfc\d\+' || expand('%:t') =~? 'draft-.*-\d\{2,}'
set textwidth=72
endif
" Syntastic
let g:syntastic_ruby_checkers = ['mri', 'rubocop']
let g:syntastic_javascript_checkers = ['eslint']
" Linters
let g:go_fmt_command = "goimports"
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_enable_signs = 1
let g:syntastic_enable_highlighting = 1
autocmd! BufWritePost * Neomake
" Swap and undo files
set dir=~/.vim/tmp/swap//,/var/tmp//,/tmp//,.
@ -108,10 +104,8 @@ let mapleader = ','
nmap <leader>c :call ToggleQuickfixList()<CR>
nmap <leader>l :call ToggleLocationList()<CR>
nmap <leader>e :SyntasticCheck<CR>:SyntasticSetLoclist<CR>:Errors<CR>
nmap <F1> :nohlsearch<CR>
nmap <F4> :SyntasticToggleMode<CR>
nmap <F5> :set number!<CR>
nmap <F6> :set list!<CR>
inoremap <F5> <C-O>:set number!<CR>