Should overwrite apply to regex triggers?
Asked by
Brian Gates
A short (contrived) example:
snippet /x..*/ "low priority" r
this has an x
endsnippet
snippet /xy.*/ "high priority" !r
this has x and y
endsnippet
xyz [expand]
1: (x..*) "low priority"
2: (xy.*) "high priority"
Type number
Could the ! flag be made to work in this situation, so
xyz[expand] => this has x and y?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- UltiSnips Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Brian Gates for more information if necessary.
To post a message you must log in.