Commit Graph

297 Commits

Author SHA1 Message Date
yuhuanbo
2a0cd591e7 add symfony2 form snip 2013-09-08 14:56:16 +08:00
Honza Pokorny
2ab7f91dc4 Merge pull request #272 from chrisyue/master
add symfony2 doctrine entity template
2013-08-31 11:11:52 -07:00
yuhuanbo
5386637570 add symfony2 doctrine entity template 2013-08-31 12:55:47 +08:00
Honza Pokorny
b410c9e3c4 Merge pull request #269 from chrisyue/master
add phpunit snippets
2013-08-26 13:21:15 -07:00
Martxel Lasa
5d4cad3316 Fix html5 snippet indentation and meta tag. 2013-08-26 19:43:20 +02:00
yuhuanbo
702844eb2b add phpunit snippets 2013-08-26 21:16:33 +08:00
yuhuanbo
2f9163ddb5 add symfony2 DataTransformer and EventSubscriber 2013-08-23 14:00:21 +08:00
yuhuanbo
1eb75e363e nc support trait 2013-08-21 11:29:40 +08:00
yuhuanbo
786f9a66fa snip nc auto detect Abstract and Interface 2013-08-19 12:00:07 +08:00
Jorge García
89c6f17ee9 Added Ember.js snippets 2013-08-13 23:51:47 -07:00
Honza Pokorny
9143c65495 Merge pull request #258 from zph/master
Converted snipmate elixir snippets into ultisnip
2013-08-08 06:53:00 -07:00
Marc Weber
8024cfcecd while -> wh, see #230 and README.md 2013-08-08 11:24:27 +02:00
Marc Weber
c0cddc9f86 ruby: count from 1, not 0 (I think its very important to think about the name)
add static_var snippet
2013-08-08 09:28:08 +02:00
ZPH
4b0712a652 Converted snipmate elixir snippets into ultisnip
Credit belongs to @iurifq for the snippets
Translation from snipmate to ultisnip format @zph
2013-08-07 21:34:23 -04:00
yuhuanbo
ea27dc4627 fixup 2013-08-02 22:16:05 +08:00
yuhuanbo
0805491b05 add symfony2 snippets 2013-08-02 22:12:34 +08:00
yuhuanbo
04a98ad387 hotfix: move cursor in var_dump call, correct the case of class name 2013-08-01 22:42:37 +08:00
yuhuanbo
fdf1e6e174 remove old php snippet which Ultisnip already include, add something new 2013-07-31 21:56:59 +08:00
Marc Weber
737508c613 UltiSnips JS: fix placeholders, remove trailing ;, they are optional 2013-07-31 01:36:35 +02:00
Marc Weber
533fe487a1 ruby snippets:
use do dov for both engines
drop #TODO comments

changing defaults is bad, but I expect ruby folks to expect do to type
do ..

doo has the advantage to get a completion popup .. but its too long to
type

The UtiSnips do snippet didn't make sense: the nested placeholder still
didn't remove the space after the "do" when deleting it - so it was
written badly. Could be fixed, by why bother?

Thus learn do and dov and be happy forever. Would Do be a better choice
(upper case chars?) Don't know. This was used by UltiSnips.

Comment on this commit if you don't like this choice.
2013-07-08 23:47:14 +02:00
Marc Weber
80697bea6f replace Filename by vim_snippets#Filename and document it
It doesn't make sense that all snippet engines have to
keep this function somewhere
2013-07-08 23:47:14 +02:00
Holger Rapp
abd64b18ce Merge pull request #225 from mengzhuo/master
Much improved rst snippets by mengzhuo.
2013-06-30 22:27:25 -07:00
Meng Zhuo
92eb5c6363 CMT update li comment 2013-06-26 13:57:08 +08:00
Meng Zhuo
9ab873b6ea A docstring
C change img/inc/fig snippet into id
U update em/st with CJK detection
2013-06-26 09:48:50 +08:00
Marc Weber
344ac6ea2c new policies for if, eif, el
What about wh(ile)?
drop some placeholder comments which don't add (enough) value to keep
for patterns used very often.
2013-06-23 02:30:26 +02:00
Meng Zhuo
8e1e176998 update fig/inc/img 2013-06-21 14:55:09 +08:00
Meng Zhuo
ab4daaf4ce change blocks into sa 2013-06-20 16:21:04 +08:00
Meng Zhuo
317dddc096 add docstring 2013-06-20 15:40:12 +08:00
Meng Zhuo
ab97140f5d get python code together 2013-06-20 11:31:41 +08:00
Meng Zhuo
6ac725a309 fix CJK lens 2013-06-20 11:29:44 +08:00
Meng Zhuo
d666cfc6a5 add usage for enumberic items 2013-06-20 10:27:05 +08:00
Meng Zhuo
382ad016d3 set a proper name to function 2013-06-20 10:15:00 +08:00
Meng Zhuo
1c80d84e9c fix Out of Code detetction indexerror 2013-06-19 18:12:12 +08:00
Meng Zhuo
d41ca9e656 add rst auto complie most common code type 2013-06-19 18:08:51 +08:00
Meng Zhuo
f2e535fd94 add emphasize 2013-06-19 17:37:01 +08:00
Meng Zhuo
af19fb1d85 update UltiSnips/rst.snippets 2013-06-19 15:35:26 +08:00
Donny Yang
ee2a486dac add newline checks to avoid leaving trailing whitespace 2013-06-10 02:08:39 +09:00
Donny Yang
beedbaa29b apply some python magic to reduce the tabstops needed 2013-06-10 00:46:27 +09:00
Donny Yang
81f8593442 inline snippets, arg-less function, new swit snippet 2013-06-08 23:45:35 +09:00
Donny Yang
f16295f3c1 It is better to have an else clause in a switch 2013-06-08 08:29:31 +09:00
Donny Yang
f216cebf54 Interpolated Code should be usable as in-word snippet 2013-06-08 08:25:02 +09:00
Donny Yang
e92b1e83f9 binding function should be usable in middle of a line 2013-06-08 08:14:52 +09:00
Marc Weber
c8783fd02f adding alternative html-minimal snippets illustrating a somewhat minimal setup which is useful to me 2013-06-06 13:44:30 +02:00
Jinzhu
17f194c204 Fix issues in eruby.snippets 2013-04-16 14:08:14 +08:00
Marc Weber
ef8fa2b97e MarcWeber's UltiSnips does no longer understand extends, drop it. See its Quickstart.txt file BUG [1] 2013-04-02 22:10:32 +02:00
Marc Weber
93a06c235a adding ocaml /xml snippets from UltiSnips 2013-04-02 22:00:55 +02:00
Marc Weber
d07009f27f Adding UltiSnips snippets, updating Readme
UltiSnips snippets are taken from UltiSnips repo.
Putting them nearby the engine seems to be the wrong thing to do.
One reason is that there are two forks now.
2013-03-17 20:13:47 +01:00