https://bugs.kde.org/show_bug.cgi?id=507020

--- Comment #8 from Malte S. Stretz <[email protected]> ---
(In reply to Waqar Ahmed from comment #7)
> Thinking again, If the server doesn't work correctly, perhaps we should fix
> the default config that we ship.
> 
> Can you confirm it doesn't work with default config?

Yes, that's why I raised this issue.

I re-read the explanation on
https://docs.kde.org/stable5/en/kate/kate/kate-application-plugin-lspclient.html
and I think I misunderstood this before.
* "root" is only used if given and then the rules as descibed (absolue or
relative) apply
* "rootIndicationFileNames" only look for files in the *parent* directory which
is why it didn't work for me
* else it falls back to $HOME as it does here which causes the performance
issues I see

I haven't tried it yet but I think the best fix for this problem is to set
```
"root": "." 
```
to avoid falling back to $HOME. I will rasie a PR for that as suggested.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to