-
Notifications
You must be signed in to change notification settings - Fork 215
Open
Description
I know this would be hard because of the interpolation, but you can just ignore stuff with backticks
and anything
that has a regex trigger. Just implement the basic stuff like this.
Snippet Generator
substitute($1,'\v^$2','$3','${4:g}')$0
VSCODE
"substitute function": {
"prefix": "sub",
"body": [
"substitute($1,'\\v^$2','$3','${4:g}')$0"
],
"description": "substitute function"
}
Ultisnips
snippet sub "substitute function"
substitute($1,'\v^$2','$3','$4')$0
endsnippet
Metadata
Metadata
Assignees
Labels
No labels