1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-21 19:11:30 +01:00

vim: add shellcheck shell linter

This commit is contained in:
bretello 2020-02-09 14:41:30 +01:00
parent 30c37189a7
commit 80c4ec608f

View File

@ -4,8 +4,8 @@ set splitbelow splitright
set autoread
" ALE configuration
let g:ale_fixers = { 'python': ['black'] , 'rust': ['rustfmt'], }
let g:ale_linters = { 'python': ['pylint'], 'bash': ['bashlint'], 'rust': ['rustc'], 'yaml': ['yamllint'] }
let g:ale_fixers = { 'python': ['black'] , 'rust': ['rustfmt']}
let g:ale_linters = { 'python': ['pylint'], 'bash': ['bashlint', 'shellcheck'], 'rust': ['rustc'] }
let g:ale_lint_on_insert_leave = 1
let g:ale_fix_on_insert_leave = 1
let g:ale_lint_on_text_changed = 1