[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: KATE: Unable to use LSP server for PHP
From: Dominik Haumann <dhaumann () kde ! org>
Date: 2019-12-28 20:21:13
Message-ID: CALi_srANqsjGe8StBY3s3eBiwCZUNGzXm_fDH76+LPJ0UsyJiQ () mail ! gmail ! com
[Download RAW message or body]
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@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
>
[Attachment #3 (text/html)]
<div dir="auto">Hi Christoph,<div dir="auto"><br></div><div dir="auto">this is \
certainly the correct fix. Could you update the docs as well:</div><div dir="auto"><a \
href="https://docs.kde.org/trunk5/en/applications/kate/kate-application-plugin-lspclie \
nt.html">https://docs.kde.org/trunk5/en/applications/kate/kate-application-plugin-lspclient.html</a><br></div><div \
dir="auto"><br></div><div dir="auto">Thanks :-)</div><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 Sa., 28. \
Dez. 2019, 21:09:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br> <br>
>> {<br>
>> "servers": {<br>
>> "php": {<br>
>> "command": ["php",<br>
>> "/home/stolz/php-language-server/bin/php-language-server.php"],<br>
>> "url": "<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 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>
<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> \
</blockquote></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic