feat: enable lsp and add neovim/nvim-lspconfig

This commit is contained in:
Matej Janezic 2025-10-07 00:37:17 +02:00
parent dee450cff7
commit 1fdea98921
Signed by: janezicmatej
GPG Key ID: 4298E230ED37B2C0
2 changed files with 17 additions and 0 deletions

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

@ -0,0 +1,16 @@
add, now, later = MiniDeps.add, MiniDeps.now, MiniDeps.later
later(function()
add("neovim/nvim-lspconfig")
vim.lsp.enable({
"pyright",
"ts_ls",
"rust_analyzer",
"clangd",
"gopls",
"ruff",
"stylua",
"lua_ls",
})
end)

View File

@ -3,6 +3,7 @@ return {
["gruvbox-material"] = "834dbf21836862300ced7444db4262b796330ab7",
["guess-indent.nvim"] = "84a4987ff36798c2fc1169cbaff67960aed9776f",
["mini.nvim"] = "61a5d44a8f31370710e6a998c5a8ee7e61c7e576",
["nvim-lspconfig"] = "e688b486fe9291f151eae7e5c0b5a5c4ef980847",
["nvim-treesitter"] = "01ced7499fb07f6c94abd316414ef198bd6e7058",
["oil.nvim"] = "919e155fdf38e9148cdb5304faaaf53c20d703ea"
}