<div dir="auto">I am in favour along with a blog post that mentions this change starting with 19.12.1.<div dir="auto"><br></div><div dir="auto">Best regards</div><div dir="auto">Dominik</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Christoph Cullmann <<a href="mailto:christoph@cullmann.io">christoph@cullmann.io</a>> schrieb am Mo., 30. Dez. 2019, 20:51:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I would like to backport the change with the highlightingModeRegex to <br>
19.12, without the docu changes.<br>
<br>
I think that will make the plugin easier to extend for people using the <br>
release without any real<br>
drawback.<br>
<br>
Would that be ok?<br>
<br>
Greetings<br>
Christoph<br>
<br>
On 2019-12-28 21:23, Christoph Cullmann wrote:<br>
> On 2019-12-28 21:21, Dominik Haumann wrote:<br>
>> Hi Christoph,<br>
>> <br>
>> this is certainly the correct fix. Could you update the docs as well:<br>
>> <a href="https://docs.kde.org/trunk5/en/applications/kate/kate-application-plugin-lspclient.html" rel="noreferrer noreferrer" target="_blank">https://docs.kde.org/trunk5/en/applications/kate/kate-application-plugin-lspclient.html</a><br>
>> <br>
>> Thanks :-)<br>
>> <br>
> Already done :P<br>
> <br>
> But I am not good at that, perhaps somebody can improve my changes <br>
> there.<br>
> <br>
> Greetings<br>
> Christoph<br>
> <br>
>> Best regards<br>
>> Dominik<br>
>> <br>
>> Christoph Cullmann <<a href="mailto:christoph@cullmann.io" target="_blank" rel="noreferrer">christoph@cullmann.io</a>> schrieb am Sa., 28. Dez.<br>
>> 2019, 21:09:<br>
>> <br>
>>> Hi,<br>
>>> <br>
>>>>> {<br>
>>>>> "servers": {<br>
>>>>> "php": {<br>
>>>>> "command": ["php",<br>
>>>>> "/home/stolz/php-language-server/bin/php-language-server.php"],<br>
>>>>> "url":<br>
>>> "<a href="https://github.com/felixfbecker/php-language-server" rel="noreferrer noreferrer" target="_blank">https://github.com/felixfbecker/php-language-server</a>"<br>
>>>>> }<br>
>>>>> }<br>
>>>>> }<br>
>>> <br>
>>> I now pushed a change to make the mapping of highlighting mode to<br>
>>> language id<br>
>>> fully configurable in the JSON file.<br>
>>> <br>
>>> This avoids that one needs to use a patched version of Kate for<br>
>>> adding<br>
>>> new languages<br>
>>> that have not by chance a 1:1 mapping of id to highlighting name.<br>
>>> <br>
>>> See commit:<br>
>>> <br>
>>> <br>
>> <a href="https://invent.kde.org/kde/kate/commit/1b245783435341f10a67e3666fe24fbf89f1d384" rel="noreferrer noreferrer" target="_blank">https://invent.kde.org/kde/kate/commit/1b245783435341f10a67e3666fe24fbf89f1d384</a><br>
>>> <br>
>>> Greetings<br>
>>> Christoph<br>
>>> <br>
>>> --<br>
>>> Ignorance is bliss...<br>
>>> <a href="https://cullmann.io" rel="noreferrer noreferrer" target="_blank">https://cullmann.io</a> | <a href="https://kate-editor.org" rel="noreferrer noreferrer" target="_blank">https://kate-editor.org</a><br>
<br>
-- <br>
Ignorance is bliss...<br>
<a href="https://cullmann.io" rel="noreferrer noreferrer" target="_blank">https://cullmann.io</a> | <a href="https://kate-editor.org" rel="noreferrer noreferrer" target="_blank">https://kate-editor.org</a><br>
</blockquote></div>