You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To be honnest with you, I'm not a big expert with TextMate. I have just translated the vscode-textmate written in TypeScript to Java to have the same feature than VSCode (I have almost the same tests).
The output of the given test is currently:
But it should actually replace
${1/(#)(#)?(#)?(#)?(#)?(#)?/${6:?6:${5:?5:${4:?4:${3:?3:${2:?2:1}}}}}/}
by a 2 in this case (actually, the number of # in the parsed text) -- i.e.:
markup.heading.2.markdown
The TextMate manual says that to support this
In Format Strings
In Both
Variables
Code to reproduce below (grammar gotten from https://github.com/textmate/markdown.tmbundle).
It's possible that I'm just misreading the API and there's some post-processing to do after the match. If this is the case, please let me know.
The text was updated successfully, but these errors were encountered: