tree-sitter-grammars / tree-sitter-hcl

HCL grammar for tree-sitter
https://tree-sitter-grammars.github.io/tree-sitter-hcl/
Apache License 2.0
92 stars 20 forks source link

feat: add namespaced identifiers #51

Closed MichaHoffmann closed 2 months ago

MichaHoffmann commented 2 months ago

fixes #50

We add "::" to the allowed continuation tokens for an identifier. Thats too general since only functions are namespaced but for the scope of this project it doesnt matter too much. This has the benefit of not breaking downstream projects.

TomTucka commented 2 months ago

Thanks for picking this up so fast @MichaHoffmann!