Trigger specific snippet by function call
Asked by
tobyS
Hi,
I want to add a specific snippet by filetype and name manually, without UltiSnips having to take care about the trigger. As far as I could see there is not "expand snippet ($ft $name) here" function, yet. Please correct me, if I'm wrong. That one would solve my problem.
The only way I found to do this would be the UltiSnips_Anon() function. However, then I would need to take care for file management of snippets myself and basically maintain another snippet collection for users of my plugin. Which is not desired.
Would it be possible to expose a function like UltiSnips_
TIA,
Toby
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- UltiSnips Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- tobyS
- Solved:
- Last query:
- Last reply:
To post a message you must log in.