From a40f8da6a3b0d9da014c9dd356a6731dbe6d3592 Mon Sep 17 00:00:00 2001 From: zack Date: Thu, 18 Jul 2024 13:27:21 -0400 Subject: [PATCH] 841 current 2024-07-18 13:27:14 24.11.20240718.ef68140 6.9.8-zen1 * --- .../tools/neovim/config/lua/lsp/handlers.lua | 2 ++ .../config/lua/plugins/ui/which-key.lua | 34 +++++++++---------- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/modules/home/apps/tools/neovim/config/lua/lsp/handlers.lua b/modules/home/apps/tools/neovim/config/lua/lsp/handlers.lua index 1bd5f10..d905d1e 100644 --- a/modules/home/apps/tools/neovim/config/lua/lsp/handlers.lua +++ b/modules/home/apps/tools/neovim/config/lua/lsp/handlers.lua @@ -31,6 +31,8 @@ M.lua_ls = make_config("lua_ls", { M.nil_ls = make_config("nixd", {}) +M.jdtls = make_config("jdtls", {}) + M.cssls = make_config("cssls", { settings = { css = { diff --git a/modules/home/apps/tools/neovim/config/lua/plugins/ui/which-key.lua b/modules/home/apps/tools/neovim/config/lua/plugins/ui/which-key.lua index f1498e1..05e2964 100644 --- a/modules/home/apps/tools/neovim/config/lua/plugins/ui/which-key.lua +++ b/modules/home/apps/tools/neovim/config/lua/plugins/ui/which-key.lua @@ -5,23 +5,23 @@ return { event = "VeryLazy", init = function() require("which-key").register({ - a = { name = format("Fix", "Actions") }, - c = { name = format("Color", "Color") }, - b = { name = format("Windows", "Buffers") }, - u = { name = format("Window", "UI") }, - g = { name = format("Git", "Git") }, - t = { name = format("Terminal", "Terminal") }, - f = { name = format("Search", "Telescope") }, - l = { name = format("Braces", "LSP") }, - d = { name = format("Debugger", "Debugger") }, - n = { name = format("Notification", "Notification") }, - S = { name = format("FolderClock", "Session") }, - r = { name = format("Code", "SnipRun") }, - o = { name = format("DropDown", "Dropbar") }, - v = { name = format("Book", "DevDocs") }, - C = { name = format("Package", "Crates") }, - D = { name = format("Database", "DbUI") }, - }, { prefix = "" }) + { "C", group = format("Package", "Crates") }, + { "D", group = format("Database", "DbUI") }, + { "S", group = format("FolderClock", "Session") }, + { "a", group = format("Fix", "Actions") }, + { "b", group = format("Windows", "Buffers") }, + { "c", group = format("Color", "Color") }, + { "d", group = format("Debugger", "Debugger") }, + { "f", group = format("Search", "Telescope") }, + { "g", group = format("Git", "Git") }, + { "l", group = format("Braces", "LSP") }, + { "n", group = format("Notification", "Notification") }, + { "o", group = format("DropDown", "Dropbar") }, + { "r", group = format("Code", "SnipRun") }, + { "t", group = format("Terminal", "Terminal") }, + { "u", group = format("Windows", "UI") }, + { "v", group = format("Book", "DevDocs") }, + }) end, opts = { key_labels = {