aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to '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)