Commit Graph

887 Commits

Author SHA1 Message Date
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
Honza Pokorny
4f4ad36efe Merge pull request #324 from tUrG0n/patch-2
Added Jade Angular Snippets
2014-03-24 01:51:12 -03:00
Piotr Yordanov
1ffdf752b6 Added Jade templates 2014-03-24 03:29:41 +00:00
Honza Pokorny
3ebeb6b724 Merge pull request #323 from gfixler/master
Fix spelling throughout UltiSnips/python.snippets
2014-03-23 03:21:39 -03:00
gfixler
16630a5c8e Fix spelling throughout UltiSnips/python.snippets 2014-03-22 22:33:17 -07:00
Holger Rapp
4b31551246 Merge pull request #322 from RyanPineo/master
Python: Add Google style docstring support.
2014-03-22 20:39:44 +01:00
Ryan Pineo
391d4fea47 Add python google style docstrings. 2014-03-22 15:03:16 -04:00
Felix Jung
fc50b1584e Syntax changes in accordance with Google. 2014-03-21 14:21:33 +01:00
Felix Jung
734a8b3e06 Merge remote-tracking branch 'upstream/master' 2014-03-21 14:07:44 +01:00
Holger Rapp
e868e17fd8 Merge pull request #321 from adoboPullRequests/master
PHP, Ultisnips: Fix getter and setter snippets that contained an invalid reference.
2014-03-19 19:00:47 +01:00
Jorge López Pérez
db3b240783 Fix PHP getter and setter UltiSnips snippet
Was broken due to complex regular expressions applied to $1,
which made UltiSnips to complain about not knowing it.

Simplified the snippet using the already working getter and setter snippets.
2014-03-19 14:43:08 +01:00
Ryan Wang
dfc456ea49 respect the convention 2014-03-15 00:32:23 +08:00
Ryan Wang
7924eee16b change abbreviation to c for controller 2014-03-14 23:00:50 +08:00
Ryan Wang
9371c648e1 add rails callbak methods 2014-03-12 13:35:17 +08:00
Ryan Wang
b2a91d1ea3 add options_for_select
add method `options_for_select` from Rails.
2014-03-12 13:04:54 +08:00
Felix Jung
ab0e535cb1 Fixed indentation issue 2014-03-06 17:10:53 +01:00
Felix Jung
7ce665eeac Fixed citation snippets and added citea and citey 2014-03-06 16:59:09 +01:00
Felix Jung
56324b8d1a Added label snippet and added labels to ali and eq 2014-03-06 15:15:01 +01:00
Holger Rapp
8c1fadfe94 fixed a syntax error in vim.snippets. 2014-03-05 08:52:50 +01:00
Holger Rapp
929aceebb7 Adjusted priority again. 2014-03-05 06:44:16 +01:00
Sebastian Röder
215c5674fb Add back closing curly braces for puppet type snippets
This braces got lost when #70 was merged
2014-03-04 18:27:38 +01:00
Holger Rapp
b327c8a8b7 Remove credit line as requested. 2014-03-04 17:47:04 +01:00
Holger Rapp
39fe0b562b Adjusted priority. 2014-03-04 17:46:35 +01:00
Holger Rapp
85801cadcc Merge pull request #317 from Carif/master
HTML form : change get to post, remove accept-charset
2014-03-04 17:37:31 +01:00
Florent Lévigne
a93d2e8d5a remove accept-charset attribute from form 2014-03-04 15:10:32 +01:00
Florent Lévigne
2d63c6a6b0 change default method to post 2014-03-04 15:08:47 +01:00