summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_channel_lsp.py
AgeCommit message (Collapse)Author
2023-09-21patch 9.0.1924: LSP server message still wrongly handled (after 9.0.1922)v9.0.1924Yegappan Lakshmanan
Problem: LSP server message still wrongly handled (after 9.0.1922) Solution: Handle 'method' messages properly, don't discard them, add tests. closes: #13141 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2023-08-27patch 9.0.1790: Redundant LSP Content-Type headerv9.0.1790Magnus Groß
Problem: The Content-Type header is an optional header that some LSP servers struggle with and may crash when encountering it. Solution: Drop the Content-Type header from all messages, because we use the default value anyway. Because pretty much all popular LSP clients (e.g. coc.nvim, VSCode) do not send the Content-Type header, the LSP server ecosystem has developed such that some LSP servers may even crash when encountering it. To improve compatibility with these misbehaving LSP servers, we drop this header as well. Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Magnus Groß <magnus@mggross.com>
2023-04-25patch 9.0.1487: Content-type header for LSP channel not according to specv9.0.1487Yegappan Lakshmanan
Problem: Content-type header for LSP channel not according to spec. Solution: Use "vscode-jsonrpc" instead of "vim-jsonrpc". (Yegappan Lakshmanan, closes #12295)
2023-01-09patch 9.0.1165: tests using IPv6 sometimes failv9.0.1165James McCoy
Problem: Tests using IPv6 sometimes fail. Solution: Use getaddrinfo() and use try/catch. (James McCoy, closes #11783)
2022-11-02patch 9.0.0828: various typosv9.0.0828dundargoc
Problem: Various typos. Solution: Correct typos. (closes #11432)
2022-04-19patch 8.2.4788: large payload for LSP message not testedv8.2.4788Yegappan Lakshmanan
Problem: Large payload for LSP message not tested. Solution: Add a test with a large LSP payload. (Yegappan Lakshmanan, closes #10223)
2022-04-18patch 8.2.4780: parsing an LSP message fails when it is splitv8.2.4780Yegappan Lakshmanan
Problem: Parsing an LSP message fails when it is split. Solution: Collapse the received data before parsing. (Yegappan Lakshmanan, closes #10215)
2022-03-30patch 8.2.4648: handling LSP messages is a bit slowv8.2.4648Yegappan Lakshmanan
Problem: Handling LSP messages is a bit slow. Solution: Included support for LSP messages. (Yegappan Lakshmanan, closes #10025)