KATE: Unable to use LSP server for PHP

Christoph Cullmann christoph at cullmann.io
Sat Dec 28 20:09:38 GMT 2019


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


More information about the KWrite-Devel mailing list