aboutsummaryrefslogtreecommitdiff
path: root/lua/config/lsp.lua
diff options
context:
space:
mode:
authorTrey Bastian <hello@treybastian.com>2026-01-28 11:57:22 +0000
committerTrey Bastian <hello@treybastian.com>2026-01-28 11:57:22 +0000
commit08d676280ae36c4c936c0b420165fc25900dd470 (patch)
treee02a492ca66285f1f3d6f1ebb88aeaee78450f0c /lua/config/lsp.lua
parentfb1c178049dc2f6ca20f34843778af8d2dc8b545 (diff)
added xml lsp
Diffstat (limited to 'lua/config/lsp.lua')
-rw-r--r--lua/config/lsp.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua
index f32b410..dc5ddbd 100644
--- a/lua/config/lsp.lua
+++ b/lua/config/lsp.lua
@@ -14,6 +14,7 @@ vim.lsp.enable({
"svelte",
"astro",
"cobol_ls",
+ "lemminx",
})
require("blink.cmp").setup({
@@ -29,9 +30,9 @@ vim.keymap.set("n", "grl", function()
end)
vim.keymap.set("n", "[d", function()
- vim.diagnostic.goto_prev()
+ vim.diagnostic.jump({ count = -1, float = true })
end)
vim.keymap.set("n", "]d", function()
- vim.diagnostic.goto_next()
+ vim.diagnostic.jump({ count = 1, float = true })
end)