https://bugs.kde.org/show_bug.cgi?id=521543
Bug ID: 521543
Summary: lspclient sends empty languageId
Classification: Applications
Product: kate
Version First 25.04.3
Reported In:
Platform: Debian stable
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: part
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
This document
https://docs.kde.org/stable_kf6/en/kate/kate/kate-application-plugin-lspclient.html#lspclient-configuration
mentions a documentLanguageId configuration key, and says:
> ... If a "documentLanguageId" entry is set to false, then no language id is
> provided to the server when opening the document ..
I interpret this as meaning that the key would be omitted. However, I find
that setting "false" actually results in an the key being sent with empty
string as a value.
> katelspclientplugin: sending message:
> "{\n \"jsonrpc\": \"2.0\",\n \"method\": \"textDocument/didOpen\",\n
> \"params\": {\n
>\"textDocument\": {\n \"languageId\": \"\",\n ...
I'm not sure if this is a code bug, or an expectation bug.
This causes an issue for me with one language server, which seems to be strict
about parsing languageId values.
https://github.com/hudson-trading/slang-server/issues/395
--
You are receiving this mail because:
You are watching all bug changes.