diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/vim-options.vim | 9 |
1 files changed, 7 insertions, 2 deletions
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 |