mirror of
https://github.com/lloeki/vimfiles.git
synced 2025-12-06 05:24:39 +01:00
Switch to ALE
This commit is contained in:
parent
1c3f1f681f
commit
a4ca9e71a8
2 changed files with 3 additions and 2 deletions
|
|
@ -26,7 +26,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 'neomake/neomake' " linter checks
|
Plug 'w0rp/ale' " linter checks
|
||||||
Plug 'milkypostman/vim-togglelist' " toggle quickfix and location lists
|
Plug 'milkypostman/vim-togglelist' " toggle quickfix and location lists
|
||||||
Plug 'junegunn/goyo.vim' " distraction-free writing
|
Plug 'junegunn/goyo.vim' " distraction-free writing
|
||||||
|
|
||||||
|
|
|
||||||
3
vimrc
3
vimrc
|
|
@ -93,8 +93,9 @@ if expand('%:t') =~? 'rfc\d\+' || expand('%:t') =~? 'draft-.*-\d\{2,}'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Linters
|
" Linters
|
||||||
|
let g:ale_sign_error = '✖'
|
||||||
|
let g:ale_sign_warning = '⚠'
|
||||||
let g:go_fmt_command = "goimports"
|
let g:go_fmt_command = "goimports"
|
||||||
autocmd! BufWritePost * Neomake
|
|
||||||
|
|
||||||
" Swap and undo files
|
" Swap and undo files
|
||||||
set dir=~/.vim/tmp/swap//,/var/tmp//,/tmp//,.
|
set dir=~/.vim/tmp/swap//,/var/tmp//,/tmp//,.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue