1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-22 03:21:30 +01:00

vim: ale: update fixers

This commit is contained in:
bretello 2023-09-14 23:00:09 +02:00
parent 4b19ff0f38
commit f5f6133c53
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -10,18 +10,20 @@ let g:ale_fixers = {
\ 'json': ['prettier'], \ 'json': ['prettier'],
\ 'c': ['clang-format'], \ 'c': ['clang-format'],
\ 'cpp': ['clang-format'], \ 'cpp': ['clang-format'],
\ 'cmake': ['cmakeformat'],
\ 'css': ['prettier'], \ 'css': ['prettier'],
\ 'html': ['prettier'], \ 'html': ['prettier'],
\ 'kotlin': ['ktlint'],
\ 'markdown': ['prettier'], \ 'markdown': ['prettier'],
\ 'terraform': ['terraform'], \ 'terraform': ['terraform'],
\ 'java': ['eclipselsp'],
\ 'yaml': ['prettier'], \ 'yaml': ['prettier'],
\ 'python': ['black', 'isort'], \ 'python': ['black', 'isort'],
\ 'go': ['gofmt', 'goimports'], \ 'go': ['gofmt', 'goimports'],
\ 'rust': ['rustfmt'], \ 'rust': ['rustfmt'],
\ 'sql': ['pgformatter'], \ 'sql': ['pgformatter'],
\ 'java': ['clang-format'],
\ 'javascript': ['prettier', 'eslint'], \ 'javascript': ['prettier', 'eslint'],
\ 'vue': ['prettier', 'eslint'] \ 'vue': ['prettier', 'eslint'],
\} \}
let g:ale_fixers_aliases = {'vue': ['vue', 'javascript']} let g:ale_fixers_aliases = {'vue': ['vue', 'javascript']}
let g:ale_popup_menu_enabled = 1 let g:ale_popup_menu_enabled = 1