Vintageous
Vintageous copied to clipboard
Braces in strings mess up brace matching with %
Hi, I'm working in javascript and have this code:
{ .. if (allowMobile && !forceMobile) { output += '@media (min-width: ' + width + 'px) {'; } .. }
The problem is that the open brace inside the string seems to mess up the brace matching. If I go to the brace after forceMobile)
and press %, it goes to the brace on the last line, which isn't the correct closing brace.
When the selection is over that same opening brace, before pressing %, sublime will automatically place an underbar under the brace and the correct matching/closing brace (sublime does this to indicate where the matching closing brace is). So sublime is doing the correct behavior, but vintageous is not.