Skip to content

Commit

Permalink
fix: lsp message view not effective (#747)
Browse files Browse the repository at this point in the history
  • Loading branch information
anhoder authored Mar 24, 2024
1 parent bf67d70 commit 2640d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/noice/lsp/message.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function M.on_message(_, result, ctx)
local client = vim.lsp.get_client_by_id(client_id)
local client_name = client and client.name or string.format("lsp id=%d", client_id)

local message = Message(M.event, "message", result.message)
local message = Message("lsp", "message", result.message)
message.opts.title = "LSP Message (" .. client_name .. ")"
for level, type in pairs(M.message_type) do
if type == result.type then
Expand Down

0 comments on commit 2640d39

Please sign in to comment.