renpy / language-renpy

:bookmark_tabs: :electric_plug: Ren'Py package for Atom and Linguist Grammars
https://atom.io/packages/language-renpy
Other
47 stars 6 forks source link

Highlighting [[ and {{ escape sequences in Ren'Py text #13

Closed JoselleAstrid closed 6 years ago

JoselleAstrid commented 6 years ago

Double left brackets and double left braces in Ren'Py text don't seem to be recognized as escape sequences. It looks like:

atom_double-bracket-highlighting

I was expecting to see [[ and {{ with the escape-character highlighting, and the rest of the text with the normal text color.

JoselleAstrid commented 6 years ago

Looks like 0e5ef78220b8a551515d0091ac673ccedec6f7f1 fixes this, thanks @renpytom !

The above examples now show the whole string as a single color. No special highlighting for the escape sequences, but I think it's fine with or without that.