aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2021-05-11 13:45:32 -0600
committerCody Hiar <cody@hiar.ca>2021-05-11 13:45:32 -0600
commit83b962e0cdef6099d798a696bfeb1caf3050e82a (patch)
tree5268bea3b975736cce9ad43ad70a63f07c102fa1 /plugin
parent5cbca32aebfb6cc020b7c75a22101ecc2b029177 (diff)
Update ale linters/fixers for shell scripts
Diffstat (limited to 'plugin')
-rw-r--r--plugin/vim-options.vim9
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