Snippet for one filetype in separate files?

Asked by dsdeiz

Hi all,

Is it possible to separate snippets of one filetype in multiple files? Say I have a filetype of .mycustomextension, I'd like it to grab all the snippets from the directory $HOME/.vim/UltiSnips/mycustomextension/.

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:
Revision history for this message
Best SirVer (sirver) said :
#1

Yes, see the docs: https://github.com/SirVer/ultisnips/blob/master/doc/UltiSnips.txt#L443

btw, testing this out would have taken less time than formulating this question :)

Revision history for this message
dsdeiz (dsdeiz) said :
#2

Thanks SirVer, that solved my question.

Revision history for this message
dsdeiz (dsdeiz) said :
#3

Ah dang it. My bad. I kinda remember this but sometimes vim's help is a pain to read. Thanks again!