Skip to content

Commit

Permalink
fix: fix small typo for string used when filtering clients by method (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
winter-again authored Mar 2, 2024
1 parent b1b140a commit a39e47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lspsaga/rename/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function rename:find_reference()
local bufnr = api.nvim_get_current_buf()
local params = lsp.util.make_position_params()
params.context = { includeDeclaration = true }
local clients = util.get_client_by_method('textDocment/references')
local clients = util.get_client_by_method('textDocument/references')
if #clients == 0 then
return
end
Expand Down

0 comments on commit a39e47c

Please sign in to comment.