KATE: Unable to use LSP server for PHP

Dominik Haumann dhaumann at kde.org
Sat Dec 28 20:21:13 GMT 2019


Hi Christoph,

this is certainly the correct fix. Could you update the docs as well:
https://docs.kde.org/trunk5/en/applications/kate/kate-application-plugin-lspclient.html

Thanks :-)

Best regards
Dominik

Christoph Cullmann <christoph at cullmann.io> schrieb am Sa., 28. Dez. 2019,
21:09:

> Hi,
>
> >> {
> >>   "servers": {
> >>     "php": {
> >>       "command": ["php",
> >> "/home/stolz/php-language-server/bin/php-language-server.php"],
> >>       "url": "https://github.com/felixfbecker/php-language-server"
> >>     }
> >>   }
> >> }
>
> I now pushed a change to make the mapping of highlighting mode to
> language id
> fully configurable in the JSON file.
>
> This avoids that one needs to use a patched version of Kate for adding
> new languages
> that have not by chance a 1:1 mapping of id to highlighting name.
>
> See commit:
>
>
> https://invent.kde.org/kde/kate/commit/1b245783435341f10a67e3666fe24fbf89f1d384
>
> Greetings
> Christoph
>
> --
> Ignorance is bliss...
> https://cullmann.io | https://kate-editor.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20191228/efa5c7a0/attachment.html>


More information about the KWrite-Devel mailing list