From ce3b31dbb07bd4be478f6ed7e2b1cdbb5b93a6f0 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 5 Jun 2024 16:53:28 -0500 Subject: [PATCH] fix(nvim): make `nvim-java` hover work --- users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua b/users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua index 6c61be7c..d49eed7b 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua @@ -167,6 +167,12 @@ return { require("lspconfig").jdtls.setup({ capabilities = lsp_capabilities, on_attach = on_attach, + init_options = { + extendedClientCapabilities = { + -- Have to disable this to make jdtls actually show hovers lol + clientHoverProvider = false, + }, + }, settings = { java = { inlayHints = {