Skip to content

Commit

Permalink
fix: make sure we always have an encoding for getting signatureHelp
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Nov 16, 2022
1 parent 1bce923 commit ba36767
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/noice/lsp/signature.lua
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ function M.on_attach(buf, client)
end

function M.check(buf, chars, encoding)
encoding = encoding or "utf-16"
return Util.debounce(Config.options.lsp.signature.auto_open.throttle, function(_event)
if vim.api.nvim_get_current_buf() ~= buf then
return
Expand Down

0 comments on commit ba36767

Please sign in to comment.