Failed to expand LaTeX snippets
tani opened this issue · comments
TANIGUCHI Masaya commented
Hi, thank you for the awesome project.
I report the issue and do not request to fix this issue because it seems that impossible to fix it.
If you would not mind adding a disclaimer in README, I suggest mentioning this issue in your document.
The following snippet uses a complex regular expression to run the conditional expansion.
"\\begin{}…\\end{}": {
"prefix": "begin",
"body": [
"\\\\begin{${1:env}}",
"\t${1/(enumerate|itemize|list)|(description)|.*/(?1:\\item )(?2:\\item)/}$0",
"\\\\end{${1:env}}"
],
"description": "Begin - End"
},
I expected the expansion should be the same as the VSCode's one, but not.
Please feel free to close this issue if you have already known that.
Thanks.
TANIGUCHI Masaya commented
I see thanks.