diff options
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | lua/config/lsp.lua | 5 |
2 files changed, 4 insertions, 2 deletions
@@ -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) |
