update nvim config
parent
25f3472774
commit
7a39015c17
|
@ -1,6 +1,6 @@
|
|||
call plug#begin('~/.config/nvim/autoload/plugged')
|
||||
Plug 'junegunn/vim-easy-align'
|
||||
Plug 'w0rp/ale'
|
||||
Plug 'dense-analysis/ale'
|
||||
Plug 'tpope/vim-rails'
|
||||
Plug 'vim-ruby/vim-ruby'
|
||||
Plug 'hashivim/vim-terraform'
|
||||
|
@ -88,8 +88,9 @@ autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
|
|||
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
|
||||
autocmd BufWinLeave * call clearmatches()
|
||||
|
||||
let g:ale_linters = {'rust': ['analyzer']}
|
||||
let g:ale_linters = {'rust': ['analyzer'], 'sh': ['shellcheck','shfmt','remove_trailing_lines','trim_whitespace']}
|
||||
let g:ale_cursor_detail = 0
|
||||
let g:ale_fix_on_save = 1
|
||||
|
||||
" Start interactive EasyAlign in visual mode (e.g. vipga)
|
||||
xmap ga <Plug>(EasyAlign)
|
||||
|
|
Loading…
Reference in New Issue