Closed ChasingZenith closed 1 year ago
Hey, thank you for reporting this.
You miss i
option that triggers the in-word expansion
snippet '(red|blue|gray|green)tt' "redtt \color{color}{text}" irA
\\color{`!p snip.rv = match.group(1)`}{${1:${VISUAL}}}
endsnippet
I find this snippet and many other auto-triggered snippet just occasionally work.
On my machine, if I press
redttredtt
, only the first one will trigger the snippet.Can you guys test on this case?