aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins/lsp.lua
diff options
context:
space:
mode:
authorCrony Akatsuki <crony@cronyakatsuki.xyz>2026-03-05 18:35:56 +0100
committerCrony Akatsuki <crony@cronyakatsuki.xyz>2026-03-05 18:35:56 +0100
commit7c2b42d916dab762292cc01de0b63d55b320e9d6 (patch)
tree087a06761f9e5d9d7763d0ca48431b6fa5eefe3b /lua/plugins/lsp.lua
parent84168cc23170da722538db84b04b44ec9f731148 (diff)
downloadnvim-7c2b42d916dab762292cc01de0b63d55b320e9d6.zip
nvim-7c2b42d916dab762292cc01de0b63d55b320e9d6.tar.gz
feat: move to new treesitter.
Diffstat (limited to 'lua/plugins/lsp.lua')
-rw-r--r--lua/plugins/lsp.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua
index 7fa01fe..8f0b6ee 100644
--- a/lua/plugins/lsp.lua
+++ b/lua/plugins/lsp.lua
@@ -16,6 +16,9 @@ vim.lsp.config("*", {
root_markers = { '.git' },
})
+-- fix annoying lua lsp errors
+require("lazydev").setup()
+
-- enable specific language servers
vim.lsp.enable({
"nixd",
@@ -33,6 +36,3 @@ vim.lsp.enable({
-- diagnostic settings
vim.diagnostic.config({ virtual_text = true })
-
--- fix annoying lua lsp errors
-require("lazydev").setup()