aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/lsp/vhdl_ls.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/lsp/vhdl_ls.py')
-rw-r--r--pyGHDL/lsp/vhdl_ls.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyGHDL/lsp/vhdl_ls.py b/pyGHDL/lsp/vhdl_ls.py
index 01474f746..9d5b71f59 100644
--- a/pyGHDL/lsp/vhdl_ls.py
+++ b/pyGHDL/lsp/vhdl_ls.py
@@ -17,6 +17,7 @@ class VhdlLanguageServer(object):
"shutdown": self.shutdown,
"$/setTraceNotification": self.setTraceNotification,
"$/setTrace": self.setTrace,
+ "$/cancelRequest": self.cancelRequest,
"textDocument/didOpen": self.textDocument_didOpen,
"textDocument/didChange": self.textDocument_didChange,
"textDocument/didClose": self.textDocument_didClose,
@@ -43,6 +44,9 @@ class VhdlLanguageServer(object):
def setTrace(self, value):
pass
+ def cancelRequest(self, id):
+ pass
+
def capabilities(self):
server_capabilities = {
"textDocumentSync": {