Skip to content

Commit

Permalink
Update doc for prefix_regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
uga-rosa committed Dec 18, 2023
1 parent da8e0bf commit 2c51be9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/denippet.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,10 @@ Fields ~
instead. Multiple prefixes can be set for a single snippet by
making it an array.
"prefix_regexp" (string|string[])
The trigger that are JS regular expression. If you use it
in TypeScript, you can use the match result in the body.
The trigger that are JS regular expression. In TypeScript, you
can use the match result in "body". Since "prefix" are used to
narrow down the search in completion, please also set the
appropriate one when using "prefix_regexp".
"body" (string|string[]) required!
The text that is actually expanded. The \t (tab character) at
the beginning of a line in "body" is corrected to the
Expand Down

0 comments on commit 2c51be9

Please sign in to comment.