Commit Graph

630 Commits

Author SHA1 Message Date
Erik Westrup
8cafffc68c Eclipse-like snippets for out and err. 2012-01-01 11:56:20 +01:00
Stuart Grimshaw
5a88bac07c Small fixes after a days real world usage 2011-12-23 09:25:38 +00:00
Stuart Grimshaw
ea8ddb9213 Forgot the ; line terminator!! 2011-12-22 16:29:32 +00:00
Stuart Grimshaw
9946c23c4f Fixed re-use of snippet data 2011-12-22 15:40:48 +00:00
Stuart Grimshaw
605f3c56b1 Added getset snippet
Added a snippet that adds get a getter & setter for the variable
you type for ${1}, also tabs to let you add extra info to the
included @param and @return tags.
2011-12-22 15:03:01 +00:00
Mike Smullin
ca85ea7cf6 Snippets for Opscode Chef Cookbook Recipes. Handy! 2011-12-21 17:09:13 -07:00
sirex
420ad0860c Missing colon in 'for' snippet. 2011-12-10 21:02:31 +02:00
Daniel Hahler
84574dfefd diff: improve header snippet (DEP-3 style). 2011-12-08 22:21:23 +01:00
Kentaro Imai
8abd94b5fc Added coffee.snippets 2011-11-30 04:33:56 +09:00
Honza Pokorny
2726dd87fe Merge pull request #52 from jdevera/master
Make license snippets just text
2011-11-29 05:21:59 -08:00
Jacobo de Vera
5254c6834f Make license snippets code-independent
License snippets are now plain text, without comment delimiters. Those
can be added a posteriori with a language aware plug-ins or some
handcrafted substitutions.
2011-11-29 12:13:51 +00:00
Kentaro Imai
e622c24d78 Upper camelcase for class and module name in ruby 2011-11-27 00:49:13 +09:00
JuanPablo
855d8607a4 # char to &cms 2011-11-24 17:29:30 -03:00
Panagiotis Mavrogiorgos
bad80561b2 Removed the "gpl" snippet from the python file and added alla the common open source licenses to the global snippet file. 2011-11-24 18:48:31 +02:00
Honza Pokorny
abcd3cee8a Merge pull request #45 from Pawka/master
New PHP snippet: vdd
2011-11-24 05:53:12 -08:00
Marc Weber
b267b8cdff fix with python snippet as suggested in issue 47 2011-11-24 13:40:22 +01:00
Marc Weber
81d4f96e30 snippets I use and fut snippet issue 46 2011-11-24 13:38:52 +01:00
Povilas Balzaravicius Pawka
31b1bf7b1f PHP snippet: vdd (var_dump and die) 2011-11-24 10:44:37 +02:00
Julien STECHELE
a5a7259e9a snippet main error 2011-11-06 12:46:49 +01:00
Honza Pokorny
1d7a4692c5 Merge pull request #42 from rlayte/master
testing snippets for python
2011-10-31 10:54:53 -07:00
Rich Layte
df5dcba57e add test and testcase to python 2011-10-31 17:01:25 +00:00
Honza Pokorny
39162aedae Merge pull request #32 from juanpabloaj/make
beginning make snippets
2011-10-20 03:10:41 -07:00
Honza Pokorny
2ac772ac61 Merge pull request #40 from rlayte/master
Add from to python snippets
2011-10-20 03:09:23 -07:00
Rich Layte
354ff5427c add from to python snippets 2011-10-19 21:56:00 +00:00
Matthias Viehweger
3501acbf7b adding pry-snippet to ruby-snippets 2011-10-18 16:54:07 +02:00
Matthias Viehweger
047062727e add block-form of assertions as additional snippets to ruby.snippets 2011-10-14 14:45:52 +02:00
Matthias Viehweger
15e8f9ebbb remove paranthesis from ruby assertions 2011-10-14 14:45:52 +02:00
Matthias Viehweger
3a971208b4 fix typo in snippet-comment 2011-10-14 08:56:19 -03:00
Matthias Viehweger
004fb8b2d5 add a statement for the ruby debugger to avoid jumping out of scope
ruby-debug places the cursor on the first statement after the debugger call.
If you place the debugger at the end of a method, you cannot debug the method
anymore. the true statement in innocent enough and keeps the cursor where you
expect it to be.
2011-10-14 08:55:58 -03:00
Matthias Viehweger
f21a4f61c0 remove trailing whitespace from ruby snippets 2011-10-14 08:55:39 -03:00
Philippe Mongeau
775540fe1f fixed duplicate title snippet in html.
renamed the first one to 'title=' since it was the title attribute.
The other snippet was for the <title> tag.
2011-10-12 23:20:04 -04:00
daoo
5a30b032cd Change sum snippet to match other snippets
That is, do not add $$ around it, also fix ${i}.
2011-10-08 12:16:12 +02:00
daoo
ff5981be4d Fixed more ${i} issues 2011-10-08 12:15:44 +02:00
daoo
170071d0a1 Change comment to make more sense 2011-10-08 12:15:05 +02:00
daoo
d14fb5e091 Fix tabbing in frac snippet 2011-10-08 12:07:47 +02:00
JuanPablo
718ae223ab beginning make snippets 2011-09-23 23:09:53 -03:00
David Sanson
508275c6ff Adding clipboard yanking snippets and setext underlining snippets 2011-09-14 18:25:29 -04:00
Honza Pokorny
6286b717f0 Merge pull request #28 from heytrav/master
perl snippets
2011-09-09 10:07:19 -07:00
William Travis Holton
a527891868 Some custom perl snippets
These were previously in separate files. I appended them to the main
perl.snippets file.
2011-09-09 18:57:55 +02:00
William Travis Holton
bf5bea2685 move custom perl snippets to subdirectory
So that the snipMate plugin will load them
2011-09-02 14:05:37 +02:00
Stephen Tudor
5ccd71ac9d Fix JSP c:out 2011-08-30 20:53:45 -04:00
JuanPablo
c9ddf17afd vim snippet : try 2011-08-30 01:57:47 -03:00
William Travis Holton
ee1972556c as per "Contributing Notes" from honza..removing folding markers 2011-08-29 08:52:36 +02:00
Laas Toom
5a3424d1fc Migrated scrooloose/snipmate-snippets ruby-rails and eruby-rails snippets. 2011-08-16 18:35:33 +03:00
Christopher Joslyn
3b8237511c Added missing end-quotes to alt attributes. 2011-08-15 16:37:34 -04:00
Joseph Lin
383444b621 fix missing brace for 'for' of eruby snippet 2011-08-14 08:21:59 +08:00
Eli Gundry
a9d145061a Added apache snippets for commonly used apache code blocks. 2011-08-06 20:00:37 -04:00
JuanPablo
47ec0c6d2a python def without fold 2011-08-03 10:59:59 -04:00
JuanPablo
577e5a2a49 zsh : fori 2011-08-03 10:59:58 -04:00
JuanPablo
9d03e71712 fold para python def 2011-08-03 10:59:58 -04:00
Christopher Joslyn
98b1de9199 Reformatted leading whitespace to conform with the implied format. 2011-08-03 08:56:12 -04:00
Eugene Kalinin
d9aaba5c2f Added new snippets for JavaScript 2011-08-03 08:53:21 +04:00
Philippe Mongeau
d0f452273b fixed utf-8 snippet 2011-08-02 20:04:29 -04:00
Stephen Tudor
ed5c19f3f6 Revamped HTML snippets. 2011-08-02 10:30:45 -04:00
Honza Pokorny
dfbb909351 Merge pull request #10 from wsantos/master
More snippets options for python
2011-07-23 16:29:17 -07:00
Waldecir Santos
8e4c58aee1 change ifs keywords 2011-07-23 20:06:58 -03:00
Stephen Tudor
334985c1e1 Fix typo in JSP c:out snippet 2011-07-20 11:57:30 -04:00
Waldecir Santos
deadccf0a7 More python snippets 2011-07-16 12:21:36 -03:00
Honza Pokorny
f7b14b8db2 Add Python doc snippet. 2011-07-07 15:41:13 -03:00
Honza Pokorny
228439d6b7 Remove folding markers from python.snippets. 2011-07-07 15:03:58 -03:00
Eustaquio Rangel
faf3b63aeb There was already a content_for snippet on the eruby snippet file.
Tags for Rails views should go there and not on the Ruby snippet file.
2011-07-06 12:11:20 -03:00
Christopher Joslyn
d2ad987438 Removed redundant try snippet from the javascript collection. 2011-07-05 22:35:16 -04:00
Honza Pokorny
d2e0f8dc7e Remove merge conflict markers from ruby. Fixes #8. 2011-07-05 19:25:27 -03:00
JuanPablo
74712b264b tex : center && equation* 2011-07-03 22:53:35 -04:00
William Travis Holton
38ea21ddad change back to the traditional 1; end thing 2011-06-27 22:38:45 +02:00
William Travis Holton
1acd1e803a modify with some updated features 2011-06-27 22:32:23 +02:00
William Travis Holton
bfc34d3713 shortcuts for various Perl constructs 2011-06-27 22:13:31 +02:00
JuanPablo
523f32ae51 sh : for .. in ; getopts 2011-06-25 23:21:17 -04:00
JuanPablo
2992de8d17 div with/withouth class 2011-06-25 14:40:41 -04:00
JuanPablo
ed66e0acef html : add class to divs 2011-06-25 14:36:06 -04:00
Honza Pokorny
c2b5891b89 Merge pull request #3 from afolmert/master
Added Go snippets
2011-06-24 02:54:35 -07:00
afolmert
efec3786f7 Tweaked Go snippets 2011-06-24 10:09:28 +02:00
Philippe Mongeau
0054b2765e updated actionscript to match honza/snipmate-snippets 2011-06-22 18:03:11 -04:00
Philippe Mongeau
8b778875b0 added table, link, acronym and footnote snippets for textile 2011-06-22 17:52:23 -04:00
Philippe Mongeau
76b47ffbbd cleaned textile file 2011-06-22 17:25:25 -04:00
Philippe Mongeau
b17c11b5f1 merge with my as3 and textile snippets 2011-06-22 14:38:03 -04:00
JuanPablo
8d5f8c9ca5 .tex recomendation : no change fold marker 2011-06-22 12:56:13 -04:00
afolmert
b086b2d467 Added Go snippets 2011-06-22 09:44:04 +02:00
JuanPablo
dbd48df062 marker folding in python functions and methods 2011-06-22 03:28:13 +02:00
Marc Weber
94aebfaadd Move all snippet files into a snippets directory so that you can install it
using VAM. The reason is that snipmate automatically looks for snippets
found in &rtp/snippets
2011-06-21 09:02:13 +02:00