From 80c4ec608f7ab9d69431e81bc116da2761b45f3f Mon Sep 17 00:00:00 2001 From: bretello Date: Sun, 9 Feb 2020 14:41:30 +0100 Subject: [PATCH] vim: add shellcheck shell linter --- my_configs.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/my_configs.vim b/my_configs.vim index d623a8f..e66081d 100644 --- a/my_configs.vim +++ b/my_configs.vim @@ -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