We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1ad9ef commit 29f3459Copy full SHA for 29f3459
lib/elixir_sense/providers/references.ex
@@ -198,9 +198,9 @@ defmodule ElixirSense.Providers.References do
198
call
199
200
%{line: line, col: col} ->
201
- text_after = Source.text_after(code, line, col + 1)
+ text_after = Source.text_after(code, line, col)
202
{_rest, line_offset, col_offset} = Source.find_next_word(text_after)
203
- col_offset = if line_offset == 0, do: col + 1, else: col_offset
+ col_offset = if line_offset == 0, do: col, else: col_offset
204
205
%{call | line: line + line_offset, col: col_offset}
206
end
0 commit comments