Pass a variable to a snippet name
Asked by
RobrechtDR
Is it possible to pass variables to a snippet name? I looked at the docs but didn't encounter this feature.
E.g.:
------------------- SNIP -------------------
snippet greet|receiver, sender| "greet person" b
Hello |receiver|, how are you doing?
Best regards, |sender|
endsnippet
------------------- SNAP -------------------
my_snip|Pete, Frank|<tab> ->
Hello Pete, how are you doing?
Best regards, Frank
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- UltiSnips Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- SirVer
- Solved:
- Last query:
- Last reply:
To post a message you must log in.