diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-01-06 13:43:46 +0100 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2021-01-07 18:44:50 +0100 |
commit | cb3c1053a36c0c80167c5af3404693eabd898f6c (patch) | |
tree | 7529fae373ff5d59cff38e6db12ba06690c3679a /testsuite/pyunit/lsp/004errprj/replies.json | |
parent | d3ad83012baca2e80bb4f34c8ccbf1f52c2f9100 (diff) | |
download | ghdl-cb3c1053a36c0c80167c5af3404693eabd898f6c.tar.gz ghdl-cb3c1053a36c0c80167c5af3404693eabd898f6c.tar.bz2 ghdl-cb3c1053a36c0c80167c5af3404693eabd898f6c.zip |
Added json files from https://github.com/ghdl/ghdl-language-server repository.
Diffstat (limited to 'testsuite/pyunit/lsp/004errprj/replies.json')
-rw-r--r-- | testsuite/pyunit/lsp/004errprj/replies.json | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testsuite/pyunit/lsp/004errprj/replies.json b/testsuite/pyunit/lsp/004errprj/replies.json new file mode 100644 index 000000000..4c7f38082 --- /dev/null +++ b/testsuite/pyunit/lsp/004errprj/replies.json @@ -0,0 +1,42 @@ +[ + { + "jsonrpc": "2.0", + "method": "window/showMessage", + "params": { + "type": 1, + "message": "json error in project file ./hdl-prj.json:1:3" + } + }, + { + "jsonrpc": "2.0", + "id": 0, + "result": { + "capabilities": { + "textDocumentSync": { + "openClose": true, + "change": 2, + "save": { + "includeText": true + } + }, + "hoverProvider": false, + "definitionProvider": true, + "referencesProvider": false, + "documentHighlightProvider": false, + "documentSymbolProvider": true, + "codeActionProvider": false, + "documentFormattingProvider": false, + "documentRangeFormattingProvider": true, + "renameProvider": false + } + } + }, + { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "uri": "file:///../files/hello.vhdl", + "diagnostics": [] + } + } +] |