fix: Snippet not triggering on multi word lines
This commit is contained in:
parent
d285acb5b4
commit
ca3df73d3a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue