diff --git a/lib/next_ls.ex b/lib/next_ls.ex index 60e62588..0b95e77d 100644 --- a/lib/next_ls.ex +++ b/lib/next_ls.ex @@ -206,7 +206,7 @@ defmodule NextLS do SELECT file, start_line, end_line, start_column, end_column FROM "references" as refs WHERE refs.module = ? - and refs.type = ? + AND refs.type = ? AND NOT like('/home/runner/work/elixir/%', refs.file) """, [module, "alias"]