hcl-lang
hcl-lang copied to clipboard
Avoid root level completions when `.` is typed inside block
Context
As described in https://github.com/hashicorp/terraform-ls/issues/1291 we currently complete 1st-level blocks when a dot (.) is typed inside the block's body.
Proposal
Be more defensive and prevent any completion candidates from coming up in the context above.