mirror of
https://github.com/avinal/dotfiles.git
synced 2026-07-04 07:20:09 +05:30
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:
@@ -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" },
|
||||
--
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user