mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
LSP: fix messageRequest to not return nested title (#13674)
* LSP: fix window/showMessageRequest to not return nested title * Add window/showMessageRequest handler to docs
This commit is contained in:

committed by
GitHub

parent
fd960a33e4
commit
fff4facdc4
@@ -93,10 +93,7 @@ M['window/showMessageRequest'] = function(_, _, params)
|
||||
if choice < 1 or choice > #actions then
|
||||
return vim.NIL
|
||||
else
|
||||
local action_chosen = actions[choice]
|
||||
return {
|
||||
title = action_chosen;
|
||||
}
|
||||
return actions[choice]
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user