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

vim: ale: update linters

This commit is contained in:
bretello 2023-09-14 23:02:10 +02:00
parent be236d0e25
commit 90c870b91d
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -39,13 +39,19 @@ let g:ale_linters = {
\ 'bash': ['bash-language-server', 'bashlint', 'shellcheck'], \ 'bash': ['bash-language-server', 'bashlint', 'shellcheck'],
\ 'dockerfile': ['hadolint'], \ 'dockerfile': ['hadolint'],
\ 'zsh': ['bashlint', 'shellcheck'], \ 'zsh': ['bashlint', 'shellcheck'],
\ 'c': ['clangd'], \ 'c': ['ccls', 'clangd'],
\ 'cpp': ['clangd'], \ 'cpp': ['clangd'],
\ 'python': ['pylsp', 'pylint', 'bandit', 'mypy', 'flake8'], \ 'qml': ['qmllint'],
\ 'python': ['pylsp', 'mypy', 'ruff'],
\ 'go': ['gopls', 'gobuild'], \ 'go': ['gopls', 'gobuild'],
\ 'rust': ['analyzer'], \ 'rust': ['analyzer', 'cargo'],
\ 'yaml': ['yamllint'], \ 'yaml': ['yamllint'],
\ 'javascript': ['yarn lint', 'eslint', 'vls'] \ 'javascript': ['yarn lint', 'eslint'],
\ 'xml': ['android'],
\ 'groovy': ['android'],
\ 'java': ['eclipselsp', 'android'],
\ 'kotlin': ['android', 'ktlint', 'languageserver'],
\ 'vue': ['volar', 'eslint']
\} \}
let g:ale_linter_aliases = {'vue': ['vue', 'javascript']} let g:ale_linter_aliases = {'vue': ['vue', 'javascript']}