summaryrefslogtreecommitdiff
path: root/nvim/lua/plugins.lua
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2025-06-29 13:45:14 -0500
committerZachIR <zachir@librem.one>2025-06-29 13:45:14 -0500
commit7811be6ae04782a054868529d5c3e8a3f22179e4 (patch)
treea08fcb792ef50b7df10aed56726daa346d5b9508 /nvim/lua/plugins.lua
parentde01a7b92da2962d841dc38fd5f32cf5dfeecc73 (diff)
Add lsp to neovim
Diffstat (limited to 'nvim/lua/plugins.lua')
-rw-r--r--nvim/lua/plugins.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua
index 0801939..8056494 100644
--- a/nvim/lua/plugins.lua
+++ b/nvim/lua/plugins.lua
@@ -12,6 +12,26 @@ end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
+ -- LSP manager
+ { "mason-org/mason.nvim", opts = {} },
+ {
+ "mason-org/mason-lspconfig.nvim",
+ dependencies = {
+ "mason-org/mason.nvim",
+ "neovim/nvim-lspconfig",
+ },
+ opts = {
+ ensure_installed = { "pylsp", "clangd", "rust_analyzer", "zls" },
+ },
+ },
+ {
+ "neovim/nvim-lspconfig",
+ config = function()
+ local lspconfig = require("lspconfig")
+
+ lspconfig.pylsp.setup({})
+ end,
+ },
"tanvirtin/monokai.nvim",
'preservim/nerdtree',
'ziglang/zig.vim',