diff --git a/plugged.vim b/plugged.vim index 52b4aa5..e4d5ef6 100644 --- a/plugged.vim +++ b/plugged.vim @@ -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 diff --git a/vimrc b/vimrc index bec379f..01e56f0 100644 --- a/vimrc +++ b/vimrc @@ -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//,.