Commit Graph

111 Commits

Author SHA1 Message Date
Holger Rapp
4ed409154b Merge pull request #360 from lucc/descriptions
tex,vim: add snippet descriptions
2014-05-12 05:23:07 -07:00
Josh Wainwright
7adbe2eed7 Merge branch 'master' of https://github.com/honza/vim-snippets 2014-05-08 08:59:34 +01:00
Josh Wainwright
0326b5ba97 Use more readable format for snippets including ending semi-colon. 2014-05-08 08:48:09 +01:00
Josh Wainwright
3cb138312f Removed implicit $0 at end of snippent 2014-05-08 08:47:05 +01:00
Josh Wainwright
33830aea0c Added couple of $0 anchors where missing. 2014-05-07 22:46:43 +01:00
Josh Wainwright
2438821340 Added semi-colons to end of lines where missing. 2014-05-07 22:45:53 +01:00
Gilad Peleg
e7f047b666 Update javascript.snippets 2014-05-07 15:10:33 +03:00
Gilad Peleg
98b1b48d92 add b flag and edit placeholder 2014-05-07 15:09:41 +03:00
Gilad Peleg
d0d1e59ad0 Add useful javascript snippets 2014-05-07 10:19:01 +03:00
Lucas Hoffmann
2672bde2fb add snippet options to some snippets 2014-05-06 14:55:24 +02:00
Lucas Hoffmann
27c2c2ba7b add quotation marks 2014-05-06 14:52:35 +02:00
Lucas Hoffmann
85004a6c60 add snippet descriptions 2014-05-06 14:50:22 +02:00
Lucas Hoffmann
7011d0f9d5 remove some duplicates
Remove some snippets from the Ultisnips/ directory which are present in the
snippets/ directory.
2014-05-06 11:33:41 +02:00
Felix Jung
0561ba640a Fixed sapply snippet 2014-04-30 10:14:30 +02:00
tinyladi
1d5adc300f add priority and inword option 2014-04-28 14:40:10 +02:00
tinyladi
a34551bdd9 add codeblock and inline code snippets to markdown.snippets 2014-04-28 13:39:08 +02:00
tinyladi
8fe86059fb create pandoc.snippets & extend markdown.snippets 2014-04-28 13:38:45 +02:00
r4d2
5edbfec786 Fix syntax in R for loop 2014-04-24 21:14:31 -04:00
Ryan Pineo
b1af469ff7 Rename angular config. Add angular controller. 2014-04-21 14:13:00 -04:00
Ryan Pineo
ec973080f4 Add angular snippets.
Add two jasmine snippets for use with angular that prepoulate the
"it" and "before" functions with "inject".  Add an angular config
snippet.
2014-04-21 14:07:28 -04:00
David C. Bishop
7b5d7de5e9 Remove /* code */ placeholders from c, cpp and d. 2014-04-18 18:10:50 +10:00
David C. Bishop
28fc19552f Add b option to rust snippets. 2014-04-18 18:08:13 +10:00
David C. Bishop
7af4b8f424 Remove /* code */ placeholders in rust.snippets. 2014-04-18 18:04:17 +10:00
David C. Bishop
dba38fc382 Add 'priority -50' to rust.snippets. 2014-04-18 18:02:36 +10:00
Holger Rapp
44d6f6a91d Merge pull request #344 from dbarnett/soy
Soy: Add snippets for soy filetype (a.k.a. closure templates)
2014-04-17 21:52:43 +02:00
David Barnett
f770dab87d Add "priority -50" to UltiSnips/soy.snippets 2014-04-16 09:03:41 -07:00
Holger Rapp
00231357c8 Remove placeholder text in proto snippets. 2014-04-16 08:19:50 +02:00
David Barnett
0b8a04fee0 Add snippets for soy filetype (a.k.a. closure templates) 2014-04-14 20:57:59 -07:00
David Barnett
cf39d41acc rm unnecessary empty lines 2014-04-13 22:58:20 -07:00
David Barnett
3f3b2d561c Add tabstop for message body 2014-04-13 09:17:57 -07:00
David Barnett
e3c6399f8c Add type completions 2014-04-13 09:11:58 -07:00
David Barnett
280f775ab3 Merge branch 'master' of https://github.com/honza/vim-snippets into proto 2014-04-13 08:52:27 -07:00
Holger Rapp
4b9f18c531 Add a common pythonx directory containing helper methods for snippets. 2014-04-13 10:24:56 +02:00
David Barnett
76a4d7eae9 Add message and field snippets for proto filetype 2014-04-11 21:49:14 -07:00
Gilad Peleg
039a1c0801 update meta charset in html 2014-04-10 12:13:17 +03:00
David C. Bishop
513fad93b1 Add rust.snippets 2014-04-09 00:18:29 +10:00
Holger Rapp
0d64ef6eb6 Merge pull request #333 from jdavis/r
R: fix snippets syntax error
2014-04-01 07:42:07 +02:00
Josh Davis
653a814dea Fix snippets syntax error 2014-03-31 23:59:21 -05:00
Holger Rapp
0bcf724e04 Merge pull request #332 from jdavis/r
New R and Rnoweb snippets
2014-04-01 06:18:28 +02:00
Josh Davis
8c7bb5d4aa Remove trigger from the end of the description 2014-03-31 21:11:47 -05:00
Josh Davis
6b5d7d3377 Remove duplicate snippet 2014-03-30 15:32:13 -05:00
Josh Davis
d1f23164d5 Add a few more snippets, fix errors as per #332
Hopefully this looks better, @SirVer!
2014-03-30 11:39:03 -05:00
Josh Davis
bd8ef3d110 Tidy up some parts of r.snippets 2014-03-30 01:04:00 -05:00
Ryan Pineo
87ea532f41 Bug fix for java case coercion helpers.
If an empty tab stop was used with either of the java case coercion
helper functions then they would blow up.  Fixed by returning an empty
string if the word passed to them is falsey.
2014-03-29 20:39:14 -04:00
Josh Davis
55887f0db4 Add R snippets to Rnoweb 2014-03-29 16:52:21 -05:00
Josh Davis
53f8dd5a7a Add in r.snippets file
I converted these over from the snipMate r.snippets in the snippets/ directory and removed some ones.
2014-03-29 16:46:23 -05:00
Josh Davis
77bc9bdf80 Add support for rnoweb filetype
Rnoweb is a filetype that combines LaTeX and R. It's used by systems like Sweave and Knitr.
2014-03-29 16:28:00 -05:00
Ryan Pineo
e5f3d6bdf5 Change java set/get snippets to use mixedCase.
The java setter and getter snippets were incorrectly formatting the
set/get name as all lowercase.  It should be mixed case, as per java's
coding standard.

A new function was made (mixedCase) to handle that.
2014-03-28 15:32:39 -04:00
Ryan Pineo
ad8883ddca Fix java setter method param case, remove return.
The paramater was keeping the case of the setter name.  It should
have been lowercased.  The other uses of the paramter were already
lowercased correctly.

There should also not be a return statement in a void method.
2014-03-28 12:11:46 -04:00
Ryan Pineo
1d41c715e2 Allow java else/elif to be expanded mid line. 2014-03-26 15:39:47 -04:00