feat: add plugins

Signed-off-by: d0zingcat <iamtangli42@gmail.com>
This commit is contained in:
2025-10-18 10:25:26 +08:00
parent 6cfd65a389
commit 36f59cda51
25 changed files with 2547 additions and 222 deletions

View File

@@ -0,0 +1,23 @@
-- mason.lua - LSP/DAP/格式化工具自动安装
return {
{
"williamboman/mason.nvim",
build = ":MasonUpdate",
config = true,
},
{
"williamboman/mason-lspconfig.nvim",
dependencies = { "williamboman/mason.nvim" },
opts = {
ensure_installed = { "gopls", "pyright" },
},
},
{
"jay-babu/mason-null-ls.nvim",
dependencies = { "williamboman/mason.nvim", "nvimtools/none-ls.nvim" },
opts = {
ensure_installed = { "gofumpt", "golines", "black", "isort", "flake8" },
automatic_installation = true,
},
},
}