update: create configuration for new tools

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
This commit is contained in:
2025-06-27 19:45:43 +05:30
parent 49eed0e56a
commit 4555248b72
24 changed files with 855 additions and 396 deletions
@@ -26,6 +26,8 @@ return {
end,
formatters_by_ft = {
lua = { 'stylua' },
go = { 'goimports', 'gofmt' },
html = { 'prettier' },
-- Conform can also run multiple formatters sequentially
-- python = { "isort", "black" },
--
+2 -1
View File
@@ -7,7 +7,8 @@ return {
local lint = require 'lint'
lint.linters_by_ft = {
markdown = { 'markdownlint' },
-- yaml = { 'yamllint' },
yaml = { 'yamllint' },
cmake = { 'cmakelint' },
}
-- To allow other plugins to add linters to require('lint').linters_by_ft,
@@ -163,7 +163,17 @@ return {
jsonls = {},
dockerls = {},
marksman = {},
harper_ls = {},
harper_ls = {
filetypes = {
'c',
'markdown',
'cpp',
'go',
'toml',
'yaml',
},
},
-- html = {},
-- pyright = {},
rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
@@ -19,6 +19,7 @@ return {
mappings = {
['\\'] = 'close_window',
},
position = 'right',
},
filtered_items = {
visible = true,