b2cdd9121b84cbd855d7f35f01ed5fabb73d7ade

Author
Pavle Portic <git@theedgeofrage.com>
Committer
Pavle Portic <git@theedgeofrage.com>
Date

Message

Add terraform to ale fixers

Diff

 1diff --git a/dot_spacevim b/dot_spacevim
 2index 909e6ad2c61105fb0d10573f8550ee1ffbde3460..0c83d8344126760cc6592c799872df2b8c766dd6 100644
 3--- a/dot_spacevim
 4+++ b/dot_spacevim
 5@@ -240,9 +240,10 @@ function! UserConfig()
 6 		\ 'javascript': ['eslint'],
 7 		\ 'python': ['flake8', 'isort', 'mypy'],
 8 		\ }
 9-	let b:ale_fixers = {
10+	let g:ale_fixers = {
11 		\ '*': ['remove_trailing_lines', 'trim_whitespace'],
12 		\ 'go': ['gofmt', 'goimports', 'golines'],
13+		\ 'terraform': ['terraform'],
14 		\ }
15 	let g:ale_lint_on_insert_leave = 1
16 	let g:ale_fix_on_save = 1