vimrc: update ale_linters

This commit is contained in:
leo 2023-04-26 14:36:49 +02:00
parent e56344111c
commit d5090f75af
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -303,22 +303,24 @@ let g:ale_lint_delay = 300| " the default being 200
let g:ale_linters = {
\ 'go': ['gofumpt', 'govet', 'gofmt', 'golangci-lint', 'gopls'],
\ 'gohtmltmpl': ['gofumpt', 'govet', 'gofmt', 'golangci-lint', 'gopls'],
\ 'dockerfile': ['hadolint'],
\ 'c': ['clang-format', 'clangd', 'clangtidy', 'cppcheck', 'cquery', 'flawfinder'],
\ 'cpp': ['clang-format', 'g++', 'clang', 'clangd', 'clangtidy', 'cppcheck', 'flawfinder'],
\ 'cs': ['OmniSharp'],
\ 'hare': ['hare', 'vimls', 'vim-lsp'],
\ 'lua': ['vimls'],
\ 'nix': ['rnix_lsp', 'statix', 'nixpkgs-fmt', 'vimls'],
\ 'css': ['vim-lsp'],
\ 'hare': ['hare', 'vim-lsp'],
\ 'lua': ['vim-lsp'],
\ 'nix': ['rnix_lsp', 'statix', 'nixpkgs-fmt', 'vim-lsp'],
\ 'python': ['vim-lsp', 'pylint', 'yapf', 'isort'],
\ 'rust': ['analyzer', 'cargo', 'rls', 'vimls'],
\ 'sh': ['shellcheck', 'shfmt', 'shell', 'vimls'],
\ 'bash': ['shellcheck', 'shfmt', 'shell', 'vimls'],
\ 'systemd': ['systemd_analyze', 'systemdlint'],
\ 'vim': ['vint', 'vimls', 'vim-lsp'],
\ 'tex': ['chktex', 'vimls'],
\ 'rust': ['analyzer', 'cargo', 'rls', 'vim-lsp'],
\ 'sh': ['shellcheck', 'shfmt', 'shell', 'vim-lsp'],
\ 'bash': ['shellcheck', 'shfmt', 'shell', 'vim-lsp'],
\ 'systemd': ['systemd_analyze', 'systemdlint', 'vim-lsp'],
\ 'vim': ['vint', 'vim-lsp'],
\ 'tex': ['chktex'],
\ 'tf': ['vimls', 'vim-lsp', 'tflint', 'terraform', 'tfsec', 'checkov'],
\ 'terraform': ['vimls', 'vim-lsp', 'tflint', 'terraform', 'tfsec', 'checkov'],
\ 'terraform': ['vim-lsp', 'tflint', 'terraform', 'terraform_ls', 'terraform_lsp', 'tfsec', 'checkov'],
\ 'yaml': ['yaml-language-server', 'spectral', 'swaglint','yamllint'],
\ 'zsh': ['shellcheck', 'shell', 'vimls'],
\ }