From ea2a95015deab052a47b87d8c74e50af4063d267 Mon Sep 17 00:00:00 2001 From: "M. Maxwell Watson" Date: Wed, 17 Jun 2015 00:12:51 -0400 Subject: [PATCH] Adds vendor snippet note to README --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index f416065..8b24a2b 100644 --- a/README.md +++ b/README.md @@ -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 ------------