Elixir: bump time to wait for cross-file referencing

Needed since #763 removed the 120s "settling time" at server startup and now
 elixir tests are failing
This commit is contained in:
Michael Panchenko committed 2025-11-20 14:30:49 +07:00
1 parent dd3fc54308
commit fff9f1e983
1 file changed
+6 -1
@@ -25,6 +25,10 @@ class ElixirTools(SolidLanguageServer):
Provides Elixir specific instantiation of the LanguageServer class using Next LS from elixir-tools.
"""
@override
def _get_wait_time_for_cross_file_referencing(self) -> float:
return 10.0 # Elixir projects need a lot of time to compile and index before cross-file references work
@override
def is_ignored_dirname(self, dirname: str) -> bool:
# For Elixir projects, we should ignore:
@@ -44,7 +48,8 @@ class ElixirTools(SolidLanguageServer):
return super().is_ignored_path(relative_path, ignore_unsupported_files)
def _is_next_ls_internal_file(self, abs_path: str) -> bool:
@staticmethod
def _is_next_ls_internal_file(abs_path: str) -> bool:
"""Check if an absolute path is a Next LS internal file that should be ignored."""
return any(
pattern in abs_path