update lsp_server
This commit is contained in:
@@ -24,6 +24,9 @@ class _Completion(Visitor):
|
||||
def custom_functions(self) -> list[lsp.CompletionItem]:
|
||||
return self._custom_functions
|
||||
|
||||
def reset(self):
|
||||
self._custom_functions = []
|
||||
|
||||
def visit_command(self, command):
|
||||
routine = command.routine
|
||||
|
||||
@@ -37,3 +40,6 @@ class _Completion(Visitor):
|
||||
label=first_arg.value, kind=lsp.CompletionItemKind.Function
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
completion = _Completion()
|
||||
|
||||
Reference in New Issue
Block a user