From eb1a2fc862bfa3196978673cfb29dc00139deadd Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 26 Jan 2023 18:38:04 +0100 Subject: pyGHDL/lsp: ignore cancelRequest --- pyGHDL/lsp/vhdl_ls.py | 4 ++++ 1 file changed, 4 insertions(+) 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": { -- cgit v1.2.3