aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/handlers.lua
diff options
context:
space:
mode:
authorRaphael <glephunter@gmail.com>2022-11-21 18:06:14 +0800
committerGitHub <noreply@github.com>2022-11-21 11:06:14 +0100
commit2bb244af314e80afbab30b4db4490c8dae894b85 (patch)
treeda1621b03df8efb1651a1f459268b008d5824416 /runtime/lua/vim/lsp/handlers.lua
parent126ef65e5b3ff0da68bfe166be0bb0a33664142b (diff)
downloadrneovim-2bb244af314e80afbab30b4db4490c8dae894b85.tar.gz
rneovim-2bb244af314e80afbab30b4db4490c8dae894b85.tar.bz2
rneovim-2bb244af314e80afbab30b4db4490c8dae894b85.zip
feat(lsp): support set title in lsp relate floatwindow (#21110)
Diffstat (limited to 'runtime/lua/vim/lsp/handlers.lua')
-rw-r--r--runtime/lua/vim/lsp/handlers.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/handlers.lua b/runtime/lua/vim/lsp/handlers.lua
index 8e5e75232f..39e2577294 100644
--- a/runtime/lua/vim/lsp/handlers.lua
+++ b/runtime/lua/vim/lsp/handlers.lua
@@ -317,7 +317,9 @@ end
--- vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(
--- vim.lsp.handlers.hover, {
--- -- Use a sharp border with `FloatBorder` highlights
---- border = "single"
+--- border = "single",
+--- -- add the title in hover float window
+--- title = "hover"
--- }
--- )
--- </pre>