diff options
| author | Tristan Gingold <tgingold@free.fr> | 2023-01-26 18:38:04 +0100 | 
|---|---|---|
| committer | Tristan Gingold <tgingold@free.fr> | 2023-01-26 21:56:34 +0100 | 
| commit | eb1a2fc862bfa3196978673cfb29dc00139deadd (patch) | |
| tree | 01b94ec8381f206767816f490b8f15d5a6556b0b | |
| parent | 446f15d3b4b410fc7a9443a6bd010e8d1db735bd (diff) | |
| download | ghdl-eb1a2fc862bfa3196978673cfb29dc00139deadd.tar.gz ghdl-eb1a2fc862bfa3196978673cfb29dc00139deadd.tar.bz2 ghdl-eb1a2fc862bfa3196978673cfb29dc00139deadd.zip | |
pyGHDL/lsp: ignore cancelRequest
| -rw-r--r-- | pyGHDL/lsp/vhdl_ls.py | 4 | 
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": { | 
