From b2cdd9121b84cbd855d7f35f01ed5fabb73d7ade Mon Sep 17 00:00:00 2001 From: Pavle Portic Date: Thu, 11 Aug 2022 14:44:07 +0200 Subject: [PATCH] Add terraform to ale fixers --- dot_spacevim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dot_spacevim b/dot_spacevim index 909e6ad..0c83d83 100644 --- a/dot_spacevim +++ b/dot_spacevim @@ -240,9 +240,10 @@ function! UserConfig() \ 'javascript': ['eslint'], \ 'python': ['flake8', 'isort', 'mypy'], \ } - let b:ale_fixers = { + let g:ale_fixers = { \ '*': ['remove_trailing_lines', 'trim_whitespace'], \ 'go': ['gofmt', 'goimports', 'golines'], + \ 'terraform': ['terraform'], \ } let g:ale_lint_on_insert_leave = 1 let g:ale_fix_on_save = 1