Commit Graph

670 Commits

Author SHA1 Message Date
Marcin Kulik
15ab315ff9 Current Rails version (3) doesn't have RAILS_DEFAULT_LOGGER anymore. log snippet for Rails 3.x, log2 snippet for Rails 2.x 2012-04-22 16:16:53 +03:00
Honza Pokorny
54116c9c86 Merge pull request #90 from smt/html-snippets
Html snippets
2012-04-08 15:47:37 -07:00
George Lee
8dbdbd94e0 a few more snippets for php 2012-04-09 05:26:04 +08:00
George Lee
50c68ed00a added a few inline snippets for templating 2012-04-07 20:33:16 +08:00
Stephen Tudor
3fe8cb6d69 Remove many ending tabstops, as they tend to cause more problems than they solve. 2012-03-31 18:57:33 -04:00
Srijan Choudhary
f71665d3b2 Added APACHE License 2.0 according to instructions here: http://www.apache.org/licenses/LICENSE-2.0.html#apply 2012-03-23 02:14:12 +05:30
Steven Humphrey
af0c4dac62 Changed hash bang line to env perl like other snippets.
This allows the use of non-system perls.
2012-03-19 19:04:44 +00:00
Ryan Bright
92d94e89b1 Changed the CoffeeScript snippet to use the filename as the default class name. 2012-03-18 19:44:33 -04:00
William Travis Holton
9a18690ef3 removing ; from end of package subroutine calls 2012-03-11 11:24:03 +13:00
William Travis Holton
fafa4a7147 Cleanup - Moose parent class name should be enclosed in quotes 2012-03-11 09:37:26 +13:00
William Travis Holton
a8e879d9d8 Added a snippet for Test::Routine style tests
Also put in a more descriptive comment for Test::Class related snippet
2012-03-11 09:35:34 +13:00
William Travis Holton
827755ad89 subroutine pod snippet with "=cut"
For when someone wants to put the pod next to the subroutine definition
2012-03-11 09:27:16 +13:00
William Travis Holton
6c886e2864 make sure $@ is localized for evals
as perl "Modern Perl"
2012-03-11 09:26:30 +13:00
Eustaquio Rangel
e9eacc69d8 Seems to be a good time to create snippets for attr_protected and attr_accessible, right? ;-) 2012-03-05 15:05:50 -03:00
Tyler Ball
008f3d9a65 removing empty line to prevent context tag from inserting a newline after itself 2012-03-02 15:51:02 -05:00
Eustaquio Rangel
90177034e3 Removed some Ruby duplicated snippets and fixed the migration snippet
to don't use a non-existent function.
2012-03-02 16:23:09 -03:00
Martin Heuschober
30dea2d3e7 added snippets for preamble
- a theorem snippet
 - tikzpicture
 - index
 - stackrel snippet
 - moved cite-snippet to the references section
 - modified the frac snippet
 - renamed the item -> itemize (because its not much more to type and it's misleading)
2012-02-19 14:17:07 +01:00
Anthony Wilson
95f9d46f32 Rename snippet.snippets to snippets.snippets 2012-02-18 17:40:20 +08:00
Honza Pokorny
1fabf45ab5 Merge pull request #59 from mikesmullin/master
snippets for ruby chef
2012-02-13 13:59:27 -08:00
Chris Sims
da34d17d90 Added pending it snippet 2012-02-13 15:29:27 -05:00
Stuart Grimshaw
4e850eee05 Tidied up phpdoc annotations for classes & removed extra docblock
comment from doc_h
2012-02-09 15:58:46 +00:00
Serhiy Oplakanets
950d3f3401 Add 'sdir' snippet. Useful for sourcing configs, etc. 2012-02-08 16:23:49 +02:00
Serhiy Oplakanets
1fa2a713e1 Make shebang more portable. 2012-02-08 11:25:09 +02:00
Serhiy Oplakanets
94971afaf3 Remove trailing newlines. 2012-02-06 15:45:23 +02:00
Serhiy Oplakanets
a241be10cc Add 'todo' and some useful EDoc snippets. 2012-02-06 15:36:44 +02:00
Ángel Alonso
905ef7bab6 Improved lua snippets 2012-02-04 15:38:01 +01:00
Ángel Alonso
521352e644 Added lua snippets 2012-02-04 15:33:54 +01:00
Dan Loewenherz
789bb2510b Fix syntax errors 2012-02-03 20:00:36 -08:00
Dan Loewenherz
915c2b8069 Add missing arguments for auto, float, int, ip, nullbool, posint, posssmallint, and smallint 2012-02-03 19:58:42 -08:00
Christopher Joslyn
73377e6742 Remove needless semicolon separator from the end of for loops. 2012-01-30 10:20:46 -05:00
Erik Westrup
e4d16b74b1 Snippet for the current time, like the date-snippet. 2012-01-26 16:05:38 +01:00
troydm
bb78b2ffb3 java property snippet added 2012-01-25 01:52:38 +04:00
Eustaquio Rangel
3896c40c98 Added test snippet to Ruby/Rails 2012-01-16 15:08:35 -02:00
Eustaquio Rangel
57daa7bfa7 Removed and merged the ruby-rails and eruby-rails snnipets into the ruby and
eruby ones.
2012-01-11 19:09:42 -02:00
Ilker Cetinkaya
a8cbad90ca Added default cs snippets (ECMA C#). 2012-01-09 22:08:17 +01:00
Dmitry Dementev
14f2c3dac8 add htmltornado (tornadoweb.org) snippets 2012-01-03 00:06:32 +04:00
Dmitry Dementev
67c619ee61 add dart language snippet 2012-01-02 23:18:24 +04:00
Erik Westrup
d3bb731b37 Snippets for cin and cout 2012-01-01 12:16:47 +01:00
Erik Westrup
73d2e23c81 Eclipse-like snippet for comments. 2012-01-01 12:12:32 +01:00
Erik Westrup
6e1ce0b399 Snippet for @author that reads /etc/passwd. Not so useful on a Windows
system but neat on a *nix one.
2012-01-01 12:08:21 +01:00
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