rescript-lang / vim-rescript

MIT License
154 stars 15 forks source link

Syntax: Add support for string interpolation #43

Closed amiralies closed 3 years ago

amiralies commented 3 years ago

I'm not sure about the grammar maybe take a look at syntax repo. do we have $name or just ${name}?

ryyppy commented 3 years ago

$name should theoretically highlight as well, but I think we'd rather nudge ppl to always use the ${name} variant, since the former requires you to use the j` prefix.

amiralies commented 3 years ago

Added back single var syntax in pr