reworking lsp/mason configs

This commit is contained in:
2025-09-29 23:47:41 -04:00
parent 31f992a630
commit fce65354ea
3 changed files with 62 additions and 59 deletions
+14 -14
View File
@@ -6,20 +6,20 @@ return {
local lint = require('lint')
lint.linters_by_ft = {
markdown = { 'markdownlint' },
html = { 'htmlhint' },
json = { 'jsonlint' },
sh = { 'shellcheck' },
bash = { 'shellcheck' },
javascript = { 'eslint_d', 'trivy' },
typescript = { 'eslint_d' },
python = { 'pylint', 'trivy' },
ansible = { 'ansiblelint' },
gitcommit = { 'gitlint' },
docker = { 'trivy' },
yaml = { 'yamllint' },
editorconfig = { 'editorconfig-checker' },
systemd = { 'systemdlint' },
-- markdown = { 'markdownlint' },
-- html = { 'htmlhint' },
-- json = { 'jsonlint' },
-- sh = { 'shellharden', 'shellcheck' },
-- bash = { 'shellharden', 'shellcheck' },
-- javascript = { 'eslint_d', 'trivy' },
-- typescript = { 'eslint_d' },
-- python = { 'pylint', 'trivy' },
-- ansible = { 'ansiblelint' },
-- gitcommit = { 'gitlint' },
-- docker = { 'trivy' },
-- yaml = { 'trivy', 'yamllint' },
-- editorconfig = { 'editorconfig-checker' },
-- systemd = { 'systemdlint' },
}
local lint_augroup = vim.api.nvim_create_augroup('lint', { clear = true })