Skip to content

Commit f85621a

Browse files
committed
fix(langserver): change keywords treeview rpc methods to non async
1 parent 5f06377 commit f85621a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/language_server/src/robotcode/language_server/robotframework/parts/keywords_treeview.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def __init__(self, parent: "RobotLanguageServerProtocol") -> None:
5151

5252
@rpc_method(name="robot/keywordsview/getDocumentImports", param_type=GetDocumentImportsParams, threaded=True)
5353
@_logger.call
54-
async def _get_document_imports(
54+
def _get_document_imports(
5555
self,
5656
text_document: TextDocumentIdentifier,
5757
*args: Any,
@@ -103,7 +103,7 @@ async def _get_document_imports(
103103

104104
@rpc_method(name="robot/keywordsview/getDocumentKeywords", param_type=GetDocumentImportsParams, threaded=True)
105105
@_logger.call
106-
async def _get_document_keywords(
106+
def _get_document_keywords(
107107
self,
108108
text_document: TextDocumentIdentifier,
109109
*args: Any,
@@ -122,7 +122,7 @@ async def _get_document_keywords(
122122

123123
@rpc_method(name="robot/keywordsview/getDocumentationUrl", param_type=GetDocumentationUrl, threaded=True)
124124
@_logger.call
125-
async def _get_documentation_url(
125+
def _get_documentation_url(
126126
self,
127127
text_document: TextDocumentIdentifier,
128128
import_id: Optional[str] = None,

0 commit comments

Comments
 (0)