configured lsp plugins

This commit is contained in:
venus
2026-03-10 02:12:25 -05:00
parent d223037865
commit be84313c2c
8 changed files with 106 additions and 15 deletions

7
lua/plugins/lsp.lua Normal file
View File

@@ -0,0 +1,7 @@
return {
"neovim/nvim-lspconfig",
dependencies = {
{ "mason-org/mason.nvim", config = true }, -- The "App Store"
{ "mason-org/mason-lspconfig.nvim", config = true }, -- The "Bridge"
},
}

View File

@@ -0,0 +1,34 @@
return {
"nvim-treesitter/nvim-treesitter",
opts = {
indent = { enable = true },
highlight = { enable = true },
folds = { enable = true },
ensure_installed = {
"bash",
"c",
"diff",
"html",
"javascript",
"jsdoc",
"json",
"lua",
"luadoc",
"luap",
"markdown",
"markdown_inline",
"printf",
"python",
"query",
"regex",
"toml",
"tsx",
"typescript",
"vim",
"vimdoc",
"xml",
"yaml",
},
}
}