Closed Andrew-Morozko closed 1 month ago
Also fixes diagnostics showing more than once.
Displaying diagnostics is tricky, because gojq query is not nesessarily a static string, it may contain hcl-style formatting. In order to display things more or less nicely we have to fake a file with the (hcl-rendered) query
Resolves #183
Also fixes diagnostics showing more than once.
Displaying diagnostics is tricky, because gojq query is not nesessarily a static string, it may contain hcl-style formatting. In order to display things more or less nicely we have to fake a file with the (hcl-rendered) query
Resolves #183