From e4c6e732fd042e879f1f2b6bbef169e5dfbbde8a Mon Sep 17 00:00:00 2001 From: Maria José Solano Date: Thu, 13 Feb 2025 05:48:56 -0800 Subject: feat(lsp): add select kind in showMessageRequest #32387 --- runtime/lua/vim/lsp/handlers.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/lua/vim/lsp/handlers.lua') diff --git a/runtime/lua/vim/lsp/handlers.lua b/runtime/lua/vim/lsp/handlers.lua index 25f87a7164..2d27f4b07c 100644 --- a/runtime/lua/vim/lsp/handlers.lua +++ b/runtime/lua/vim/lsp/handlers.lua @@ -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') -- cgit