aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/handlers.lua
diff options
context:
space:
mode:
authorGrace Petryk <gracepetryk99@gmail.com>2023-09-10 01:02:23 -0700
committerGitHub <noreply@github.com>2023-09-10 10:02:23 +0200
commit5e3cf9fb4bc7f236c858f609ca83c57fb1779ab0 (patch)
tree58a9fb5ab1b61d9d2d416636a0bc600b1c9fa484 /runtime/lua/vim/lsp/handlers.lua
parentbb38c066a96512cf8cb2ef2e733494b5bbdfa3fd (diff)
downloadrneovim-5e3cf9fb4bc7f236c858f609ca83c57fb1779ab0.tar.gz
rneovim-5e3cf9fb4bc7f236c858f609ca83c57fb1779ab0.tar.bz2
rneovim-5e3cf9fb4bc7f236c858f609ca83c57fb1779ab0.zip
feat(lsp): improve control over placement of floating windows (#24494)
Diffstat (limited to 'runtime/lua/vim/lsp/handlers.lua')
-rw-r--r--runtime/lua/vim/lsp/handlers.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/lsp/handlers.lua b/runtime/lua/vim/lsp/handlers.lua
index a6b70ac911..81d4d6cceb 100644
--- a/runtime/lua/vim/lsp/handlers.lua
+++ b/runtime/lua/vim/lsp/handlers.lua
@@ -355,7 +355,7 @@ end
---@param config table Configuration table.
--- - border: (default=nil)
--- - Add borders to the floating window
---- - See |nvim_open_win()|
+--- - See |vim.lsp.util.open_floating_preview()| for more options.
function M.hover(_, result, ctx, config)
config = config or {}
config.focus_id = ctx.method
@@ -442,7 +442,7 @@ M[ms.textDocument_implementation] = location_handler
---@param config table Configuration table.
--- - border: (default=nil)
--- - Add borders to the floating window
---- - See |nvim_open_win()|
+--- - See |vim.lsp.util.open_floating_preview()| for more options
function M.signature_help(_, result, ctx, config)
config = config or {}
config.focus_id = ctx.method