Commit Graph

632 Commits

Author SHA1 Message Date
Kevin Mees
883916a91d Added livescript str snippet 2013-08-09 15:41:50 +02:00
Kevin Mees
1df60aadd2 Added livescript req! snippet 2013-08-09 15:37:35 +02:00
Kevin Mees
1fd1d3b53f Added livescript match snippet 2013-08-09 15:36:34 +02:00
Kevin Mees
552aaa4dd0 Converted Coffeescript SnipMate snippets to Livescript 2013-08-09 15:35:41 +02: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
Honza Pokorny
b2771b368c Merge pull request #257 from Knorkebrot/patch-1
fix underline length
2013-08-04 16:08:36 -07:00
Björn
b4fe1eb09d fix underline length
if you're hasty and type more than three '='s/'-'s, the underline will be longer than the title above. To fix this we need to subtract the (remaining) length of the current line from the length of the title.
2013-08-04 03:52:18 +02:00
Honza Pokorny
3cea78f0c0 Merge pull request #256 from kevinschaul/master
Added snippets for d3 (javascript)
2013-08-02 15:09:37 -07:00
Kevin Schaul
a490c1ee8d Added snippets for d3 (javascript)
Based on Shan Carter's snippets for Sublime
https://github.com/shancarter/sublime-text-d3
2013-08-02 18:02:43 -04:00
Honza Pokorny
e5a811ad21 Merge pull request #255 from chrisyue/master
add some nice symfony2 snippets
2013-08-02 09:55:01 -07: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
Honza Pokorny
f05ba1ba96 Merge pull request #254 from chrisyue/master
some hotfix, nothing more
2013-08-01 10:25:27 -07:00
yuhuanbo
3ece8e4236 Merge remote-tracking branch 'upstream/master' 2013-08-01 22:48:03 +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
Honza Pokorny
ca1793fdaa Merge pull request #253 from chrisyue/master
remove old php snippet which Ultisnip already include, add something new
2013-07-31 07:58:58 -07: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
Eustáquio Rangel
f57162262b Merge pull request #251 from babybeasimple/master
add number_to_currency helper snippet
2013-07-29 06:35:32 -07:00
babybeasimple
4e23383bea (haml.snippets): add number_to_currency helper snippet 2013-07-29 15:04:04 +04:00
babybeasimple
eddf0273c7 (eruby.snippets): add number_to_currency helper snippet 2013-07-29 15:03:31 +04:00
Honza Pokorny
418b59e4fd Merge pull request #249 from simeonwillbanks/master
Add Go snippets for invoking named and anonymous functions in goroutines
2013-07-26 09:58:48 -07:00
Simeon F. Willbanks
e688bfe1fd Add Go snippets for invoking named and anonymous functions in goroutines 2013-07-26 08:56:21 -07:00
Honza Pokorny
8a0cd14a26 Merge pull request #248 from michihuber/patch-1
Add function do ... end snippet to elixir
2013-07-22 05:34:53 -07:00
Michi Huber
5ce921601a Add function do ... end snippet to elixir 2013-07-22 08:52:16 +02:00
Honza Pokorny
bdcfe04406 Merge pull request #247 from gslin/master
Prefer HTML5 syntax.
2013-07-21 15:32:31 -07:00
Gea-Suan Lin
743da3a940 In HTML5, we don't need xml-style close tag. 2013-07-20 23:45:40 +08:00
Gea-Suan Lin
5a95942a8a Perfer to use <meta charset="utf8">.
Both are valid in HTML5, and both are valid in major browsers, so we
choose shorter version.

And move charset before title, because <title> might contain multibyte
string.

Ref: https://code.google.com/p/doctype-mirror/wiki/MetaCharsetAttribute
2013-07-20 23:42:24 +08:00
Honza Pokorny
e9173d2737 Merge pull request #246 from agoconcept/master
Added python epydoc snippet
2013-07-18 15:15:26 -07:00
Santiago Gallego
6164455931 Added python epydoc snippet 2013-07-18 21:31:59 +02:00
Honza Pokorny
bebd5000c8 Merge pull request #244 from simeonwillbanks/master
Refactor go Snipmate snippet "if", so you can tab into if block body
2013-07-17 10:53:12 -07:00
Simeon F. Willbanks
9c2cfdd51a Refactor go Snipmate snippet "if", so you can tab into if block body 2013-07-17 10:22:01 -07:00
Honza Pokorny
ade6f26f10 Merge pull request #241 from daleroberts/master
Fix a bug in the 'thm' tex snippet
2013-07-10 08:36:17 -07:00
Dale Roberts
e477c20bd6 Fix bug in thm 2013-07-10 17:27:17 +02:00
Honza Pokorny
e31ffd0299 Merge pull request #240 from psyeugenic/erlang/testsuites
Add erlang common_test testsuite snippet
2013-07-10 07:10:12 -07:00
Björn-Egil Dahlberg
52f500fd07 Add erlang common_test testsuite snippet 2013-07-10 15:52:40 +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
Honza Pokorny
1c74a955b0 Merge pull request #239 from kenshin54/master
Add inline if snippet to c
2013-07-08 05:39:13 -07:00
kenshin54
a1d8992489 Add inline if snippet to c. 2013-07-06 22:17:27 +08:00
Iuri Fernandes
3f956a0f48 Add ruby snippets for "it { should respond_to :method }" 2013-07-05 11:17:21 -03:00
Honza Pokorny
fbfc3d2a84 Merge pull request #237 from Matt-Stevens/master
Add snippet for pudb in Python
2013-07-03 05:11:10 -07:00
Matt Stevens
8e678bd903 Add snippet for pudb in Python 2013-07-03 09:48:45 +01: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
Iuri Fernandes
d153c8df78 Merge pull request #235 from babybeasimple/master
new pattern for shoulda matchers
2013-06-30 06:42:11 -07:00
babybeasimple
6fbe9913f2 refactor (ruby.snippet) new pattern for rspec snippets 2013-06-30 15:49:17 +04:00
Iuri Fernandes
62e6e219c1 Merge pull request #234 from vrybas/duplicated-ruby-snippet-sel
Duplicated snippet in ruby.snippets
2013-06-29 05:44:44 -07:00