hashivim / vim-terraform

basic vim/terraform integration
http://hashivim.github.io/vim-terraform
ISC License
1.07k stars 110 forks source link

Syntax highlighting for string interpolation should not match double dollar sign #163

Closed dfedde closed 3 years ago

dfedde commented 3 years ago

In the terraform bellow the string "$${var}" should just be a string and not be highlighted as though there is an interpolation.

locals {
bash_var = "$${var}"
}

This behavior is defined here.

It looks like the issue is on syntax/terraform.vim#L38 but I don't know enough VimScript to be able to figure out a fix.

dimbleby commented 3 years ago

thanks!