mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
feat(lsp): add select kind in showMessageRequest #32387
This commit is contained in:
committed by
GitHub
parent
375847fb33
commit
e4c6e732fd
@ -90,6 +90,7 @@ RSC[ms.window_showMessageRequest] = function(_, params)
|
||||
local co, is_main = coroutine.running()
|
||||
if co and not is_main then
|
||||
local opts = {
|
||||
kind = 'lsp_message',
|
||||
prompt = params.message .. ': ',
|
||||
format_item = function(action)
|
||||
return (action.title:gsub('\r\n', '\\r\\n')):gsub('\n', '\\n')
|
||||
|
Reference in New Issue
Block a user