Skip to content

Commit

Permalink
fix: fix lsp showMessage. Fixes #220
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Nov 13, 2022
1 parent 6de461b commit 5ff75a5
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 @@ -17,7 +17,7 @@ M.message_type = {
---@alias ShowMessageParams {type:MessageType, message:string}

function M.setup()
vim.lsp.handlers["window/showMessage"] = Util.protect(M.message)
vim.lsp.handlers["window/showMessage"] = Util.protect(M.on_message)
end

---@param result ShowMessageParams
Expand Down

0 comments on commit 5ff75a5

Please sign in to comment.