summaryrefslogtreecommitdiff
path: root/lua/lvim/lsp/handlers.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-12-23 10:03:15 +0100
committerGitHub <[email protected]>2021-12-23 10:03:15 +0100
commit55934998286357e5cba13848720c25494051510f (patch)
treea98c25da2d55f5f75c7326bac2a8c2068568c420 /lua/lvim/lsp/handlers.lua
parenta3cf3b1f2a6f2fce80833753a133c9983e56d4e2 (diff)
fix(lsp): set the handlers opts for v0.6 as well (#2109)
Diffstat (limited to 'lua/lvim/lsp/handlers.lua')
-rw-r--r--lua/lvim/lsp/handlers.lua10
1 files changed, 3 insertions, 7 deletions
diff --git a/lua/lvim/lsp/handlers.lua b/lua/lvim/lsp/handlers.lua
index 45f73e91..bbadf25a 100644
--- a/lua/lvim/lsp/handlers.lua
+++ b/lua/lvim/lsp/handlers.lua
@@ -28,15 +28,11 @@ function M.setup()
end
vim.lsp.diagnostic.display(diagnostics, bufnr, client_id, config)
end
+ end
- vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
- border = lvim.lsp.popup_border,
- })
+ 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, {
- border = lvim.lsp.popup_border,
- })
- end
+ vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, lvim.lsp.float)
end
function M.show_line_diagnostics()