2012-12-02 04:00:34 -05:00
|
|
|
IMPORTANT: comment on: [What about merging whith Ultisnip using its engine](https://github.com/garbas/vim-snipmate/issues/114)
|
|
|
|
|
2011-06-21 07:07:45 -04:00
|
|
|
Snipmate Snippets
|
|
|
|
=================
|
2011-06-20 18:49:54 -04:00
|
|
|
|
2012-11-29 05:33:15 -05:00
|
|
|
This repository contains snippets files for various programming languages.
|
|
|
|
|
|
|
|
It was originally written for the the famous [snipMate][1] plugin for vim.
|
2012-12-07 03:55:14 -05:00
|
|
|
However today there are at least 3 plugins which can make use of this snippet repository:
|
|
|
|
|
|
|
|
1) [snipMate][1]
|
2012-12-07 04:02:28 -05:00
|
|
|
|
2012-12-07 03:55:14 -05:00
|
|
|
2) [Shougo's neosnippet][5] has a compatible mode allowing
|
|
|
|
to reuse most snippets.
|
2012-12-07 04:02:28 -05:00
|
|
|
|
2012-12-07 03:55:14 -05:00
|
|
|
3) [ultisnip][6] (experimental, mind the branch snipmate-merge)
|
|
|
|
This code is subject to change. Take it as preview. That branch
|
|
|
|
has additional notes for Snipmate users. at the bottom.
|
|
|
|
In the long run ultisnip will have its own set of snippets, because it is
|
|
|
|
more powerful cause it supports nested snippets.
|
|
|
|
|
|
|
|
|
2012-11-29 05:33:15 -05:00
|
|
|
|
|
|
|
It is community-maintained and many people have contributed snippet files and other
|
|
|
|
improvements already. Not sure whether it implements all features such as
|
|
|
|
guards - does anybody know?
|
2011-06-20 18:49:54 -04:00
|
|
|
|
|
|
|
[vim-snipmate][1] was originally started by [Michael Sanders][2] who has now
|
|
|
|
unfortunately abandoned the project. [Rok Garbas][3] is now maintaining a
|
|
|
|
[fork][4] of the project in hopes of improving the existing code base.
|
|
|
|
|
2012-11-29 05:33:15 -05:00
|
|
|
|
2011-06-21 07:07:45 -04:00
|
|
|
Language maintainers
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
No one can really be proficient in all programming languages. If you would like
|
|
|
|
to maintain snippets for a language, please get in touch.
|
|
|
|
|
|
|
|
* Python - [honza](http://github.com/honza)
|
|
|
|
* Javascript - [honza](http://github.com/honza)
|
|
|
|
* HTML Django - [honza](http://github.com/honza)
|
|
|
|
* Markdown - [honza](http://github.com/honza)
|
2011-06-21 10:31:03 -04:00
|
|
|
* Ruby - [taq](http://github.com/taq)
|
2012-07-24 15:06:32 -04:00
|
|
|
* PHP - [chrisyue](http://github.com/chrisyue)
|
2011-06-21 07:07:45 -04:00
|
|
|
|
2011-07-07 14:06:17 -04:00
|
|
|
Contributing notes
|
|
|
|
------------------
|
|
|
|
|
|
|
|
Until further work is done on `vim-snipmate`, please don't add folding markers
|
2012-11-29 05:33:15 -05:00
|
|
|
into snippets. `vim-snipmate` has some comments about how to patch all snippets
|
|
|
|
on the fly adding those.
|
2011-07-07 14:06:17 -04:00
|
|
|
|
2011-06-20 18:49:54 -04:00
|
|
|
Authors
|
|
|
|
-------
|
|
|
|
|
|
|
|
For a list of authors, please see the `AUTHORS` files.
|
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
|
|
|
Just as the original snipMate plugin, all the snippets are licensed under the
|
|
|
|
terms of the MIT license.
|
|
|
|
|
|
|
|
|
|
|
|
[1]: http://github.com/garbas/vim-snipmate
|
|
|
|
[2]: http://github.com/msanders
|
|
|
|
[3]: http://github.com/garbas
|
|
|
|
[4]: http://github.com/garbas/vim-snipmate
|
2012-11-29 05:33:15 -05:00
|
|
|
[5]: https://github.com/Shougo/neosnippet
|
2012-12-07 03:55:14 -05:00
|
|
|
[6]: https://github.com/MarcWeber/UltiSnips/tree/snipmate-merge
|