Bug 471946 - Help Center: LSP Client Plugin configuration example contains typo
Summary: Help Center: LSP Client Plugin configuration example contains typo
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-04 14:03 UTC by 847240
Modified: 2023-07-06 11:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 847240 2023-07-04 14:03:03 UTC
SUMMARY

In the Handbook for Kate under the chapter 'LSP Client Plugin' -> 'Configuration' the example states

{
        "servers":
        {
                "python":
                {
                        "command": ["pylsp_in_env"], ["%{Project:NativePath}"],
                        "root": "."
                }
        }
}

However Kate does not accept a Copy&Paste of this example. This seems to be the correct version

{
        "servers":
        {
                "python":
                {
                        "command": ["pylsp_in_env", "%{Project:NativePath}"],
                        "root": "."
                }
        }
}


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 23.04 x86_64
(available in About System)
KDE Plasma Version: Plasma 5.27.4
Comment 1 847240 2023-07-06 11:33:23 UTC
Seems to be fixed in commit 88dcaab4