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

View file

@ -25,7 +25,7 @@ Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes' Plug 'vim-airline/vim-airline-themes'
Plug 'scrooloose/nerdtree' , { 'on': 'NERDTreeToggle' } Plug 'scrooloose/nerdtree' , { 'on': 'NERDTreeToggle' }
Plug 'ervandew/supertab' " completion Plug 'ervandew/supertab' " completion
Plug 'scrooloose/syntastic' " linter checks Plug 'neomake/neomake' " linter checks
Plug 'milkypostman/vim-togglelist' " toggle quickfix and location lists Plug 'milkypostman/vim-togglelist' " toggle quickfix and location lists
" Languages " Languages

10
vimrc
View file

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