chore: update language_server.py

minor fix
This commit is contained in:
Ikko Eltociear Ashimine authored and GitHub committed 2025-04-02 23:46:09 +09:00
1 parent efbe7cbbe1
commit 8e9b63a4bf
1 file changed
+2 -2
+2 -2
View File
@@ -907,7 +907,7 @@ class LanguageServer:
async def request_document_overview(self, relative_file_path: str) -> list[tuple[str, multilspy_types.SymbolKind, int, int]]:
"""
An overview of the given file.
Returns the the list of tuples (name, kind, line, column) of all top-level symbols in the file.
Returns the list of tuples (name, kind, line, column) of all top-level symbols in the file.
"""
_, document_roots = await self.request_document_symbols(relative_file_path)
return [
@@ -1617,7 +1617,7 @@ class SyncLanguageServer:
"""
An overview of the given file.
Returns the the list of tuples (name, kind, line, column) of all top-level symbols in the file.
Returns the list of tuples (name, kind, line, column) of all top-level symbols in the file.
"""
assert self.loop
result = asyncio.run_coroutine_threadsafe(