Snippetes with multiple options doesn't works
TortoiseHive opened this issue · 1 comments
TortoiseHive commented
Example:
snippet numericality: "numericality: { | }" i
numericality: { ${2|greater_than,greater_than_or_equal_to,less_than,less_than_or_equal_to,equal_to,other_than|}: ${3:100} }
endsnippet
Inserts:
numericality: { 1.greater_than|2.greater_than_or_equal_to|3.less_than|4.less_than_or_equal_to|5.equal_to|6.other_than: 100 }
smjonas commented
This is the expected behavior by UltiSnips. You need to press 1
/ 2
etc. once the snippet was expanded to select the option you want.