Skip to content

Instantly share code, notes, and snippets.

@innyso
Created April 26, 2020 09:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save innyso/3d8c382749f87b59025a6b78525019fd to your computer and use it in GitHub Desktop.
Save innyso/3d8c382749f87b59025a6b78525019fd to your computer and use it in GitHub Desktop.
#vim #ultisnips #plugins

How does Ultisnips know which snippet file(s) to load?

In the snippet definition directories, it look for the following patterns:

foo. snippets
foo_*.snippets
foo/*

where foo is the filetype

a special snippet type is all.snippets and all/* which will apply to all filetype

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment