summaryrefslogtreecommitdiff
path: root/lua/lvim/lsp
diff options
context:
space:
mode:
authoropalmay <[email protected]>2022-10-06 17:11:37 +0300
committerGitHub <[email protected]>2022-10-06 10:11:37 -0400
commit5a4c8e3eecbfb3ef785c2eb5d2010f50b9b5d5df (patch)
tree887855797c3eb408cdf48cec1de28ec6cf183db7 /lua/lvim/lsp
parent9def60f1dd09ac2244672b8570092229977b43b4 (diff)
fix: always use border for lsp hover (#3160)
Diffstat (limited to 'lua/lvim/lsp')
-rw-r--r--lua/lvim/lsp/handlers.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/lua/lvim/lsp/handlers.lua b/lua/lvim/lsp/handlers.lua
index 81342885..84f2ba5f 100644
--- a/lua/lvim/lsp/handlers.lua
+++ b/lua/lvim/lsp/handlers.lua
@@ -12,9 +12,7 @@ function M.setup()
float = lvim.lsp.diagnostics.float,
}
vim.diagnostic.config(config)
- if not lvim.builtin.illuminate.active then
- vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, lvim.lsp.float)
- end
+ vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, lvim.lsp.float)
vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, lvim.lsp.float)
end