[feature request] snippet aliasing
Bug #889217 reported by
Aldis Berjoza
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UltiSnips |
Invalid
|
Undecided
|
Unassigned |
Bug Description
It would be very useful if you could make aliases for snippets
This would help avoiding snippets that have same body, but different name.
For example I have eachpair snippet, which I use in ruby end perl
However I'd like to define each_pair snippet for ruby, which would be absolutely the same as eachpair.
To post a comment you must log in.
Are the eachpair snippet the exakt same in both languges? Because it seems like what you want to do is already supported with regular expression snippets:
snippet "each_?pair" "each pair" br
blaaah
endsnippet
this one will trigger on "eachpair" and on "each_pair".