Hi, would it be possible to change the definition { name = 'meta.escape-character.latex'; match = '\\$'; into { name = 'meta.escape-character.latex'; match = '\\$|(?<=\\)\n'; The problem is that a backslash followed by a newline is not recognized by the first definition. Piero