Skip to content

Commit f68d626

Browse files
committed
fix: rename ast helpers function
1 parent bd230ac commit f68d626

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/next_ls/helpers/ast_helpers.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ defmodule NextLS.ASTHelpers do
171171
defmodule Function do
172172
@moduledoc false
173173

174-
def find_aliased_function_call_within(ast, {line, column}) do
174+
def find_remote_function_call_within(ast, {line, column}) do
175175
position = [line: line, column: column]
176176

177177
result =

lib/next_ls/signature_help.ex

+1-1
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)