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 ------------ diff --git a/UltiSnips/coffee_jasmine.snippets b/UltiSnips/coffee-jasmine.snippets similarity index 100% rename from UltiSnips/coffee_jasmine.snippets rename to UltiSnips/coffee-jasmine.snippets diff --git a/UltiSnips/javascript_angular.snippets b/UltiSnips/javascript-angular.snippets similarity index 100% rename from UltiSnips/javascript_angular.snippets rename to UltiSnips/javascript-angular.snippets diff --git a/UltiSnips/javascript_ember.snippets b/UltiSnips/javascript-ember.snippets similarity index 100% rename from UltiSnips/javascript_ember.snippets rename to UltiSnips/javascript-ember.snippets diff --git a/UltiSnips/javascript_jasmine.snippets b/UltiSnips/javascript-jasmine.snippets similarity index 100% rename from UltiSnips/javascript_jasmine.snippets rename to UltiSnips/javascript-jasmine.snippets diff --git a/UltiSnips/javascript_jsdoc.snippets b/UltiSnips/javascript-jsdoc.snippets similarity index 100% rename from UltiSnips/javascript_jsdoc.snippets rename to UltiSnips/javascript-jsdoc.snippets diff --git a/UltiSnips/php_laravel.snippets b/UltiSnips/php-laravel.snippets similarity index 100% rename from UltiSnips/php_laravel.snippets rename to UltiSnips/php-laravel.snippets diff --git a/UltiSnips/php_phpunit.snippets b/UltiSnips/php-phpunit.snippets similarity index 100% rename from UltiSnips/php_phpunit.snippets rename to UltiSnips/php-phpunit.snippets diff --git a/UltiSnips/php_symfony2.snippets b/UltiSnips/php-symfony2.snippets similarity index 100% rename from UltiSnips/php_symfony2.snippets rename to UltiSnips/php-symfony2.snippets