fix: Snippet not triggering on multi word lines

This commit is contained in:
Sayantan Santra 2024-03-14 19:13:50 -05:00
parent d285acb5b4
commit ca3df73d3a
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -14,7 +14,7 @@ priority -10
extends tex extends tex
context itemize_like() context itemize_like()
snippet "\\item\s*\S+" "create next item" rb snippet "\\item\s*\S+.*" "create next item" rb
`!p snip.rv = match.group(0)` `!p snip.rv = match.group(0)`
\item $0 \item $0
endsnippet endsnippet