hsnips
hsnips copied to clipboard
"Double" tabstops is incompatible with snippets
I trying to get the first input in my first tabstop to be "copied" to the 5th line of my code (\mathcal{L}_{$1}). It works exactly how I want it, except if I use any of my snippets as input. For example, when I use the autosubscript snippet as input, the cursor jumps down to the "copy" on line 5. And like I said, if I type _{} manually, it works.
snippet max2 "[L] max - 2 const." A
\\begin{align*}",
\max_{${1:var1}, ${2:var2}}
\\\\
\mathcal{L}_{$1}
\\end{align*}
endsnippet
# Autosubscript-Snippet
snippet __ "[G] Subscript" iA
_{}
endsnippet
Hello, are you using the vscode vim extension ?
Possible duplicate of #78
I don't think so. I don't have any vim extensions installed. Does it work for you?
I disabled all extensions, keeping only Hyperscopes and Hypersnips enabled. The problem persists.
Strange, using another snippet does NOT cause this problem:
context math(context)
snippet ,, "[T] Comma after eq."
\, ,
endsnippet