From 83b962e0cdef6099d798a696bfeb1caf3050e82a Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Tue, 11 May 2021 13:45:32 -0600 Subject: Update ale linters/fixers for shell scripts --- plugin/vim-options.vim | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'plugin') diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 3e5511a..b8fddc0 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -272,8 +272,13 @@ endif " Ale "----------------------------------------------------------------------------------------------------------------------- if !empty(glob($EditorDir.'plugged/ale/autoload/ale.vim')) - let g:ale_pattern_options = { - \ '\.py$': {'ale_linters': ['flake8'], 'ale_fixers': ['isort', 'black']}, + let g:ale_linters = { + \ 'python': ['flake8'], + \ 'sh': ['shellcheck'], + \} + let g:ale_fixers = { + \ 'python': ['isort', 'black'], + \ 'sh': ['shfmt'], \} let g:ale_lint_on_enter = 0 -- cgit v1.2.3