plasma-manager
plasma-manager copied to clipboard
rust-analyzer as an LSP in kate stopped working
This regression was introduced in #191 which updated kate from 23.08 to 24.05. I believe it was this specific commit from the kate project.
I could fix this locally with adding the old version of rust-analyzer as a custom setting.
- Can somebody on a different setup check whether they can reproduce this?
- If so, can we figure out (with reasonable effort), what the root cause is?
- If not, should we add my hacky patch to plasma-manager's kate?
hi, it seems like you forgot to close this issue
@ugur-a I was hoping for somebody else to confirm (or reject) whether they have the same issue: If it's just me, we can close it. If it's a common issue, I would like to know to figure out a good fix.
Oh god sorry I totally misread this. So:
- I created a small config (literally just the rust-analyzer setup), and it does indeed fail to find the workspace when I don't have
"rootIndicationFileNames" = ["Cargo.lock" "Cargo.toml"];set. - Unfortunately, I have no idea what the root cause could be. But the Reddit post's OP didn't say anything about plasma-manager (or home-manager in general), so nothing would indicate that it's the one to blame?
- Whatever that would be, I'd say your workaround couldn't hurt?
The root cause is that they removed these rootIndicatorFilenames from upstream kate. And if this is a common issue, somebody (I) should probably file a bug report.