Merge pull request #581 from mmwtsn/vendor-snippets

Move UltiSnips vendor snippets out of default namespace.

Also document proper handling of vendor snippets.
This commit is contained in:
Holger Rapp 2015-07-14 22:19:58 +02:00
commit 3569953261
9 changed files with 18 additions and 0 deletions

View File

@ -60,6 +60,24 @@ improved by Adnan Zafar. So maybe time is not ready to make a final decision yet
[github issue/discussion](https://github.com/honza/vim-snippets/issues/363)
Vendor Snippets
---------------
Additional library and framework snippets are available for UltiSnips users in
the `UltiSnips/` directory. These files are removed from the default language
namespaces to prevent them from all being loaded automatically. If there is a
separate library, framework, or package you would like to support open a pull
request!
Additional snippets can be added to the current buffer with the
`:UltiSnipsAddFiletypes` command followed by the snippet name without the
"snippets" ending. For example, to add the JavaScript Jasmine snippets, run:
`:UltiSnipsAddFiletypes javascript-jasmine`. To have this snippet loaded
everytime a JavaScript file is opened or created you can add the command to your
`.vim/ftplugin/javascript.vim` file.
For more see the UltiSnips docs (`:help UltiSnips`).
Installation
------------