feat: update nvim config

This commit is contained in:
2026-04-01 02:50:48 +08:00
parent 524dd75eb3
commit 2950f6b442
3 changed files with 35 additions and 24 deletions
+20 -13
View File
@@ -2,19 +2,26 @@ return {
{
"mason-org/mason.nvim",
opts = function(_, opts)
vim.list_extend(opts.ensure_installed, {
"stylua",
"selene",
"luacheck",
--"bashls",
"shfmt",
--"tailwindcss",
"typescript-language-server", -- TypeScript/JavaScript LSP
"pylyzer",
--"cssls",
"buf", -- Protocol Buffers LSP
"gopls", -- Go LSP
})
vim.list_extend(opts.ensure_installed, {
"stylua",
"selene",
"luacheck",
"shfmt",
"pylyzer",
"buf", -- Protocol Buffers LSP
-- TypeScript/JavaScript
"typescript-language-server",
"eslint-lsp",
"prettierd",
-- Go
"gopls",
"goimports",
"gofumpt",
"golangci-lint",
"delve",
})
end,
},
}