Closed stephantabor closed 9 years ago
ooh nevermind i figured it out
'.source.js':
'test':
'prefix': 'ayy'
'body': '${1:{ lmao: 0 \\}}'
It'd be great if there was something about this in the README. I dunno, maybe this is because I don't write a lot of CoffeeScript, but I wouldn't have ever guessed that you need to escape the backslash instead of escaping the curly bracket itself.
Just sent a pull request. Figured it'd be easier to write it myself, but you can reject it and write your own explanation, if you prefer.
creating tab stops with selections when there are curly braces in the tab stop selection area doesn't work as desired.
Example:
I tried with JSON and CSON. Also tried escaping various braces in CSON.