summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-03-06 17:03:19 +0100
committerNatasha Moongrave <natasha@256phi.eu>2026-03-06 17:03:19 +0100
commit009cdd6f322780b96a3fbd910a01bd08eb8cd23e (patch)
tree35610c2ddf8674ab6498a8946233747e6a139915
parent38639705f1291c892be2146a22d95b8a7d462089 (diff)
updated lspconfig configuration to use modern syntax isntead of the deprecated one
-rw-r--r--modules/home/i3wm/nord-blue/nvim.nix17
1 files changed, 9 insertions, 8 deletions
diff --git a/modules/home/i3wm/nord-blue/nvim.nix b/modules/home/i3wm/nord-blue/nvim.nix
index 78edbb7..02d1ad1 100644
--- a/modules/home/i3wm/nord-blue/nvim.nix
+++ b/modules/home/i3wm/nord-blue/nvim.nix
@@ -126,14 +126,15 @@
-------------------------------------------------
-- LSP
-------------------------------------------------
- local lspconfig = require("lspconfig")
-
- lspconfig.lua_ls.setup({})
- lspconfig.nil_ls.setup({})
- lspconfig.rust_analyzer.setup({})
- lspconfig.pyright.setup({})
- lspconfig.bashls.setup({})
- lspconfig.texlab.setup({})
+ local lspconfig = require("vim.lsp.config")
+
+
+ vim.lsp.config("lua_ls", {})
+ vim.lsp.config("nil_ls", {})
+ vim.lsp.config("rust_analyzer", {})
+ vim.lsp.config("pyright", {})
+ vim.lsp.config("bashls", {})
+ vim.lsp.config("texlab", {})
-------------------------------------------------
-- TELESCOPE