Commit Graph

336 Commits

Author SHA1 Message Date
oddlydrawn
7bedb44b55 Adds numbers to word in getArgs, Removes whitespace after braces 2016-03-10 18:46:11 -07:00
Vzaa
9f95287083 Rust: remove semicolons from constructor returns 2016-03-09 13:34:44 +02:00
Louis Pilfold
9160fed96c Merge pull request #693 from carlitux/master
Fix DecimalField on models
2016-03-08 09:37:53 +00:00
Luis Carlos Cruz
287de632d9 Add Default values on DecimaField 2016-03-07 22:39:27 -04:00
Luis Carlos Cruz
647e5c3811 Fix DecimalField on models 2016-03-07 22:37:02 -04:00
Louis Pilfold
83d331ffb6 Reduce duplication in Go 2016-03-03 11:56:37 +00:00
daa84
eb11eb41ec fix macro snippet for rust
() replaced with {}
2016-03-03 12:06:54 +03:00
Ricardo Jesus
0f25922960 Missed 'art'
Minor error but two '#' were missing on an header.
2016-02-13 21:43:50 +00:00
Andy Waite
62e94f5b06 Remove snippet for deprecated find(:all)
This was removed in Rails 4.
http://blog.remarkablelabs.com/2012/12/what-s-new-in-active-record-rails-4-countdown-to-2013
2016-02-07 20:32:22 +00:00
Andy Waite
e97e0d097c Remove respond_with snippet
This is no longer part of Rails, it's now handled by the responders gem.
http://weblog.rubyonrails.org/2014/8/20/Rails-4-2-beta1/
2016-02-07 20:31:05 +00:00
Andy Waite
16e922e7fe Use update rather than `update_attributes
`update_attributes` is deprecated:
https://github.com/rails/rails/pull/6739
2016-02-07 20:28:55 +00:00
Andy Waite
31b2fe023a Change Rails snippet triggers
At present, `cla` maps to both Create Controller Class and Create
Functional Test class.

Using `cla` for creating a controller seems overly-general, since we may
want triggers for other types of classes, e.g. models. So I propose
changing this to `clac`.

And to remove ambiguity, I propose using `clact` for the controller test.
2016-02-07 14:54:19 +00:00
Daniel Hahler
e8b7ebb913 python: fix multiple commands on a single line; add bpdb
Otherwise style checkers will usually complain about it, and e.g.
'flake8' cannot be made to ignore it with '# noqa' at the end.

I also adds the "bpdb" snippet, and only defines them in the snipmate
format, not UltiSnips'.
Therefore "ipy" is only available as "iem" now.
Ref: https://github.com/honza/vim-snippets/pull/675#issuecomment-176840647
2016-01-30 14:43:06 +01:00
Fuad Saud
08a94d1ce3 Remove duplicate ruby block snippets 2016-01-05 22:04:00 -02:00
Louis Pilfold
b5ab96b6a5 Reorganise Haskell snippets 2015-11-28 00:50:11 +00:00
ChickenNuggers
11ad17eac9 lua snippet // loops, blocks, and pcall 2015-11-26 11:39:05 -06:00
yvhn
45ef7b6425 Add "ipy" snippet to embed IPython shell into the code 2015-11-21 15:18:02 +02:00
Nate Mara
1c08287613 Add comment ending ifndef block to ifndef c snippet 2015-11-04 16:35:52 +01:00
Holger Rapp
1058eea45c Merge pull request #637 from mangege/master
add i and w option to eruby
2015-10-29 08:06:41 +01:00
mangege
e12c3e63c7 add link_to 2015-10-29 15:03:45 +08:00
mangege
131034997b fix form tag 2015-10-29 14:47:07 +08:00
Holger Rapp
d0ef3e6cdb Merge pull request #534 from ricardogcolombo/master
Created new ui5 framework snippets
2015-10-29 07:44:30 +01:00
mangege
0472d63cf4 add i and w option to eruby 2015-10-29 14:36:18 +08:00
ricardogcolombo
9f21ea8945 rename openui5 snippet file 2015-10-12 11:11:49 -03:00
Holger Rapp
7a4ee9815c Merge pull request #632 from sasidhar-d/master
jasmine: updated old jasmine methods and added new ones from the library
2015-10-12 07:41:28 +02:00
Holger Rapp
ac7fc9b569 Fix fold* snippets. 2015-10-11 14:03:37 +02:00
Louis Pilfold
4f262c849e Supercollider synthedef 2015-10-11 11:40:49 +01:00
sasidhar-d
bc1637bde4 jasmine,added new matcher anything, and partial matchers objectContaining,stringMatching and arrayContaining 2015-10-10 16:19:56 +05:30
sasidhar-d
ccbdbff0d5 jasmine: removed depricated methods wasCalled, wasCalledWith and their not counter parts 2015-10-10 06:02:25 +05:30
sasidhar-d
00a4269e97 modified returnValue, throwError,callFake with the modern version of functions 2015-10-10 04:38:33 +05:30
sasidhar-d
7e51c1452a add jasmine beforeAll, afterAll, toBeUndefined snippets 2015-10-09 19:48:19 +05:30
Holger Rapp
2d64dabfd1 Make _parse_comments use &commentstring before &comments.
Also refactor and move python code from all.snippets into python file.

Fixes #629.
2015-10-07 16:23:00 +02:00
Holger Rapp
6b38fd96cf Merge pull request #626 from Ralph-Wang/master
add python style jedi
2015-10-06 09:07:01 +02:00
Louis Pilfold
691c99cc3a Make IIFE airbnb style friendly 2015-10-01 21:21:45 +01:00
Ralph-Wang
e018ff16cf add style jedi 2015-09-30 15:36:21 +08:00
Erich Heine
1d61b86ab7 Enhance python with snippet for UltiSnips
* the `with` snippet in UltiSnips now contains a VISUAL element
* The `as` keyword portion of a with statement now uses python
  interpolation to determine presence
2015-09-23 13:58:12 -05:00
Louis Pilfold
93c4b32b4d C: Remove some dupes 2015-09-14 23:59:36 +01:00
Louis Pilfold
a9d2af7470 C: Move enum to snipmate, remove while dupe 2015-09-13 20:28:51 +01:00
Louis Pilfold
bd213c19ce C: Add return, dedupe ultisnips 2015-09-11 08:57:03 +01:00
dzikie drożdże
b3bfe4df7d pep-3110 2015-09-07 17:28:59 +02:00
Holger Rapp
ec99c8c24f Merge pull request #610 from kursion/master
Adding reactJS for coffeescript support
2015-08-31 07:50:59 +02:00
Louis Pilfold
6a11e1aa15 Remove redundant Ultisnips SCSS snippets 2015-08-28 12:50:10 +01:00
Hans-Guenter
b8bd605a2f Adjust for changed vim Filename function 2015-08-27 19:52:01 +02:00
Yves Lange
ab03bcfac1 Adding coffeescript kv ('key:value') snippet 2015-08-17 09:58:52 +02:00
Yves Lange
8b2a712007 Adding reactJS for coffeescript support 2015-08-17 09:53:28 +02:00
ricardogcolombo
9b43dbc3db rename openui5 snippets file according to the standard nomenclature 2015-08-14 13:31:29 -03:00
Louis Pilfold
c00f373485 Supercollider: for snippets 2015-08-14 14:32:20 +01:00
Luis Carlos Cruz Carballo
ba44606abd Add default __str__ method 2015-08-05 08:28:51 -04:00
Luis Carlos Cruz Carballo
0af7853c6b Add some context for djangohtml 2015-08-02 23:53:12 -04:00
Luis Carlos Cruz Carballo
7439b143fb Add some options to test on templates 2015-08-02 23:53:12 -04:00