Add terraform to ale fixers

This commit is contained in:
Pavle Portic 2022-08-11 14:44:07 +02:00
parent 5be50c2c2a
commit b2cdd9121b
Signed by: TheEdgeOfRage
GPG Key ID: 66AD4BA646FBC0D2
1 changed files with 2 additions and 1 deletions

View File

@ -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