Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: incorrect calculation of line character index
  • Loading branch information
sskroi committed Apr 21, 2025
commit 16b8de150d38ddf27bfd4c4597740f0a21fef87a
2 changes: 1 addition & 1 deletion lua/lsp_signature/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ local signature = function(opts)
end
end

local shift = math.max(1, trigger_position - 0)
local shift = math.max(0, trigger_position - 0)
local params = helper.make_position_params({
position = {
character = shift,
Expand Down
Loading