Commit Graph

1112 Commits

Author SHA1 Message Date
David Barnett
0b8a04fee0 Add snippets for soy filetype (a.k.a. closure templates) 2014-04-14 20:57:59 -07:00
Steeve
593a3b79df lkwg LocalKeyWordargumentGet 2014-04-14 12:30:29 +02:00
Steeve
7f65658f47 remove useless $0 2014-04-14 12:28:03 +02:00
Holger Rapp
037065241e Merge pull request #343 from dbarnett/proto
Proto: Added snippets for Googles protobufs.
2014-04-14 08:07:30 +02: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
Holger Rapp
8770132e4e Merge pull request #341 from pgilad/patch-1
HTML: update meta charset
2014-04-10 21:28:43 +02:00
Steeve
fea2ddc004 key word argument get (kwg)
a common usage -especially when overloading class- is to use `*args` array and `**kwargs` dictionary to handle method's arguments

this snippet is usefull to quickly get the argument value from the keyword arguments dictionary -kwargs- or setting a default value
2014-04-10 11:17:29 +02:00
Gilad Peleg
039a1c0801 update meta charset in html 2014-04-10 12:13:17 +03:00
Honza Pokorny
5db783d7f1 Merge pull request #340 from WnP/patch-1
add def overloading method (dol)
2014-04-09 14:29:13 -03:00
Steeve
fa6d71e49e add def overloading methode (dol)
I add it because I use it many times a day -not only for the `__init__` method-

this snippet is very useful to me, no need to call super and handle all args and kwargs, and no more typo errors :D
2014-04-09 12:27:32 +02:00
Steven Oliver
9b6ee51b41 Merge pull request #339 from dcbishop/patch-1
Add rust.snippets

Awesome. Thanks!
2014-04-08 11:04:04 -04:00
David C. Bishop
513fad93b1 Add rust.snippets 2014-04-09 00:18:29 +10:00
Honza Pokorny
e69e510d4e Merge pull request #338 from maxirobaina/master
Fixed #335 - django snippet fix model save method
2014-04-08 10:36:42 -03:00
Maximiliano Robaina
0c4960aa84 Fixed #335 - django snippet fix model save method 2014-04-08 09:35:15 -03:00
Honza Pokorny
ecb5407885 Merge pull request #337 from maxirobaina/master
Added new django fields types
2014-04-07 14:25:30 -03:00
Maximiliano Robaina
40f1db97d9 Added new django fields types 2014-04-07 13:41:38 -03:00
Holger Rapp
e89d9afe55 Merge pull request #334 from lavrin/master
Erlang: Import gen_fsm and gen_event snippets from Vimerl
2014-04-07 08:00:48 +02:00
Radosław Szymczyszyn
8f9a7e3dc9 Add gen_fsm and gen_event imported from vimerl 2014-04-01 14:35:02 +02:00
Radosław Szymczyszyn
fcce90db9b Reindent gen_server export list 2014-04-01 14:33:47 +02: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
Holger Rapp
6de3bb7ccb Merge pull request #329 from RyanPineo/master
Java: fix setter. camel case vars/types properly.
2014-03-30 12:05:31 +02: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
Eustáquio Rangel
3924baefa0 Merge pull request #330 from brandonhilkert/master
Add asi => assert_includes for Ruby
2014-03-29 09:57:44 -03:00
Brandon Hilkert
6541994397 Add asi => assert_includes 2014-03-28 19:45:20 -04: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
Honza Pokorny
2ca5883f83 Merge pull request #328 from hallaj/master
Update python.snippets
2014-03-27 01:42:49 -03:00
Honza Pokorny
7b23338180 Merge pull request #327 from ches/fixes
Scala snippets fix
2014-03-27 01:42:30 -03:00
Muhammad Hallaj Subery
ba94750df1 Update python.snippets
adding code encoding.
2014-03-27 12:08:39 +08:00
Ches Martin
0b673c3e59 Scala snippets fix 2014-03-27 05:37:14 +07:00
Holger Rapp
dbf58517de Merge pull request #326 from RyanPineo/master
java: Allow else/elif to be expanded mid line.
2014-03-26 21:30:47 +01:00
Ryan Pineo
1d41c715e2 Allow java else/elif to be expanded mid line. 2014-03-26 15:39:47 -04:00
Eustáquio Rangel
3254ebfb44 Merge pull request #320 from wongyouth/add_rails_methods
Add rails callback methods
2014-03-25 09:42:47 -03:00
Honza Pokorny
773c4573fa Merge pull request #325 from jdnavarro/master
Add `OPTIONS_HADDOCK` snippet
2014-03-24 07:27:13 -03:00
Ryan Wang
fc65844236 use m as prefix and fix conflicts with other snippets 2014-03-24 17:51:34 +08:00
Danny Navarro
88cd206a19 Add OPTIONS_HADDOCK snippet 2014-03-24 09:46:51 +01:00