Skip to content

Commit 5c270e0

Browse files
committed
fix: rename ast helpers function
1 parent 114744d commit 5c270e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/next_ls/helpers/ast_helpers.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ defmodule NextLS.ASTHelpers do
197197
defmodule Function do
198198
@moduledoc false
199199

200-
def find_aliased_function_call_within(ast, {line, column}) do
200+
def find_remote_function_call_within(ast, {line, column}) do
201201
position = [line: line, column: column]
202202

203203
result =

lib/next_ls/signature_help.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ defmodule NextLS.SignatureHelp do
1717
{:ok, ast} -> ast
1818
{:error, ast, _} -> ast
1919
end),
20-
{:ok, result} <- ASTHelpers.Function.find_aliased_function_call_within(ast, position) do
20+
{:ok, result} <- ASTHelpers.Function.find_remote_function_call_within(ast, position) do
2121
case result do
2222
{{:., _, [{:__aliases__, _, modules}, name]}, _, _} -> {:ok, {Module.concat(modules), name}}
2323
end

0 commit comments

Comments
 (0)