Two small but useful syntax highlighting improvements:
Add word boundaries to the "resource" and "provider" keywords so they're only highlighted when they appear on their own. This lets you have, for example, a resource named "foo_provider" without having the second half of the name highlighted.
Allow string interpolation to be nested. It's valid Terraform syntax to write something like "${file(${var.my_file})}" but currently the string interpolation highlighting is terminated at the first "}" character, causing nested interpolation to incorrectly highlight the rest of the file.
Two small but useful syntax highlighting improvements:
"${file(${var.my_file})}"
but currently the string interpolation highlighting is terminated at the first "}" character, causing nested interpolation to incorrectly highlight the rest of the file.