aboutsummaryrefslogtreecommitdiff
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
parentfb1c178049dc2f6ca20f34843778af8d2dc8b545 (diff)
added xml lsp
-rw-r--r--README.md1
-rw-r--r--lua/config/lsp.lua5
2 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index b7592c7..1087587 100644
--- a/README.md
+++ b/README.md
@@ -11,6 +11,7 @@
- astro - `npm install -g @astrojs/language-server`
- cobol - download https://github.com/eclipse-che4z/che-che4z-lsp-for-cobol/releases extract from vsix file for target platform
- java - `brew install jdtls`
+- xml - download https://github.com/redhat-developer/vscode-xml/releases/ extract from zip for target platform
Yes, I could make this a script...
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)