Switch to ALE

This commit is contained in:
Loic Nageleisen 2017-10-20 13:46:19 +02:00
parent 1c3f1f681f
commit a4ca9e71a8
2 changed files with 3 additions and 2 deletions

View file

@ -26,7 +26,7 @@ Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'scrooloose/nerdtree' , { 'on': 'NERDTreeToggle' }
Plug 'ervandew/supertab' " completion
Plug 'neomake/neomake' " linter checks
Plug 'w0rp/ale' " linter checks
Plug 'milkypostman/vim-togglelist' " toggle quickfix and location lists
Plug 'junegunn/goyo.vim' " distraction-free writing

3
vimrc
View file

@ -93,8 +93,9 @@ if expand('%:t') =~? 'rfc\d\+' || expand('%:t') =~? 'draft-.*-\d\{2,}'
endif
" Linters
let g:ale_sign_error = '✖'
let g:ale_sign_warning = '⚠'
let g:go_fmt_command = "goimports"
autocmd! BufWritePost * Neomake
" Swap and undo files
set dir=~/.vim/tmp/swap//,/var/tmp//,/tmp//,.