KATE: Unable to use LSP server for PHP

Christoph Cullmann christoph at cullmann.io
Sat Dec 28 20:23:45 GMT 2019


On 2019-12-28 21:21, Dominik Haumann wrote:
> 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 :-)
> 
Already done :P

But I am not good at that, perhaps somebody can improve my changes 
there.

Greetings
Christoph

> 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

-- 
Ignorance is bliss...
https://cullmann.io | https://kate-editor.org


More information about the KWrite-Devel mailing list