Mathew Attlee
e8cb8d0165
PHP and Twig conditional snippets to be consistent with naming convention: if, ife, eif, el, wh
2016-05-05 14:23:12 +01:00
Mathew Attlee
e7af7326ea
Initial snippets for phpspec
2016-04-30 16:31:04 +01:00
Mathew Attlee
c95c0e4cda
Fix the PHPDoc for trait snippet
2016-04-30 13:57:11 +01:00
Mathew Attlee
a13199fb3c
Moved snippet sfa
into Symfony snippets
2016-04-30 13:33:27 +01:00
Mathew Attlee
9bee55407f
Trait snippet for PHP
2016-04-30 13:33:25 +01:00
Mathew Attlee
05b7e5c4e2
Updated PHPUnit, Symfony and Laravel class snippets to be consistent
...
with existing PHP snippets' namespace and adding `<?php`
Changed PHPUnit and Symfony snippet's namespace and author to be consistent with other PHP snippets
class
blah
2016-04-30 11:35:24 +01:00
Mathew Attlee
a5edd3369e
Use relative path when determining namespace
for PHP snippet
2016-04-29 17:32:57 +01:00
protream
517dc9f8b5
snippet pmdoc
: improve compatibility
2016-04-26 17:26:46 +08:00
protream
42c2b78470
snippet pmdoc
: fix year generate error and make variables more readable
2016-04-19 17:30:04 +08:00
protream
3532786cd0
Python: add a snippet to generate pocoo style module doc string
2016-04-16 23:47:45 +08:00
Laurent Georget
c133679866
C++: Add a snippet to generate an entire .h skeleton
2016-04-07 10:25:51 +02:00
Laurent Georget
47f262c64c
r: Close the Else-If snippet
2016-04-06 22:34:54 +02:00
toogley
5590616c4a
fix 'sbash' snippet interpreting newline and tab character
...
This pullrequest: https://github.com/honza/vim-snippets/pull/704 introduced a
new bug of the 'sbash' snippet of Ultisnips. Python interpreted the \n and \t in
IFS=$'\n\t' and executed them instead of assigning it to the variable IFS.
2016-03-21 17:17:01 +01:00
toogley
65211115a0
make default settings for bash more reliable
...
see http://redsymbol.net/articles/unofficial-bash-strict-mode/ for explanation
why this might be useful.
2016-03-20 20:19:08 +01:00
Florian Sattler
979b9cd49d
Changed ifndef snippet to #ifndef
...
This makes it consistent with the other C macro snippets
2016-03-15 10:38:49 +01:00
Sam Shepherd
edc4eedf9a
Added Anonymous Function (javascript) for UltiSnips. Supports $VISUAL.
2016-03-10 10:09:21 -06: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