elixir-editors / elixir-tmbundle

A TextMate and Sublime Text Bundle for the Elixir programming language
https://elixir-lang.org/
Other
263 stars 61 forks source link

Fix missing nested curly capture in string interpolation #171

Closed jayjun closed 5 years ago

jayjun commented 5 years ago

Fixes #161 by reverting part of 77a2d7cd189769f25e9554f19dd1a1b756e069de.

For some reason, making #nest_curly_and_self a nested repository prevents its end pattern } from matching first.

Pulling it back out to the top-level repository lets #nest_curly_and_self end any blocks it started, thus letting #interpolated_elixir find its end pattern at the correct scope level.

1

Ping @tompave @infininight.

josevalim commented 5 years ago

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart: