feat(lsp): add select kind in showMessageRequest #32387

This commit is contained in:
Maria José Solano authored and GitHub committed 2025-02-13 05:48:56 -08:00
1 parent 375847fb33
commit e4c6e732fd
1 file changed
+1
+1
View File
@@ -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')