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

--- Comment #11 from Malte S. Stretz <[email protected]> ---
(In reply to Waqar Ahmed from comment #9)
> > * "rootIndicationFileNames" only look for files in the *parent* directory 
> > which is why it didn't work for me
> 
> It looks in all parent directories, it keeps doing `cd ..` till it finds a
> root indication file. Also it looks for file with exact names. It won't work
> with `*.tf`. For a pattern, "rootIndicationFilePatterns" should be used

Ah, I just copy and pasted the code from
https://github.com/hashicorp/terraform-ls/blob/main/docs/USAGE.md#kate -- looks
like the "offical" documentation is broken then.

I think `"root": "."` is better though since it will use the project directory,
ie a bit more context (cf. PR).

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

Reply via email to