Files starting with a multiline comment lead to out of range
errors in LSP
#1052
Labels
bug
Something isn't working
textDocument/documentLink
textDocument/semanticTokens
Semantic syntax highlighting
upstream/hcl
We discovered in #1050 (unrelated to the bug reported in #1050) that having a file start with a multiline comment results in
out of range
errors for all kinds of LSP requests.Server Version
Terraform Configuration Files
Log Output
Expected Behavior
No errors, usual responses to all requests.
Actual Behavior
Out of range errors for requests with a position lower than line 3.
Degraded DX, because of broken features like semantic tokens.
Proposal
Raise this issue upstream in HCL
The text was updated successfully, but these errors were encountered: