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

--- Comment #4 from Malte S. Stretz <[email protected]> ---
I finally found the output in the journal. And indeed, the rootPath was set to
my Home Directory even though the description at
https://docs.kde.org/stable5/en/kate/kate/kate-application-plugin-lspclient.html
sounds like it should have limited the root to my project folder.

I was able to fix this by setting the root explicitly:

```
   "terraform": {
      "command": ["terraform-ls", "serve"],
      "url": "https://github.com/hashicorp/terraform-ls";,
      "highlightingModeRegex": "^Terraform$",
      "rootIndicationFileNames": ["*.tf", "*.tfvars"],
      "root": "%{Project:NativePath}"
    }
```

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

Reply via email to