Julien Pivard
4f498954ab
fix ada filename mixedcase with - object oriented
...
Derived types use caracter '.' in package name. But in the filename dot
are replaced by '-' .
For exemple :
```ada
package Mother_Package.Daughter_Package is
-- ...
end Mother_Package.Daughter_Package;
```
is in a file named : Mother_Package-Daughter_Package.ads
So function ada_case(word) change the '-' in filename to dot in the
package name with mixedcase.
2016-08-05 13:50:55 +02:00
Alvin Chan
fb4e3f0986
Clean up HTML snippets that add extraneous tags
2016-07-19 16:54:17 -07:00
Alvin Chan
c74d97c650
By default, use VISUAL selection for HTML tag content
2016-07-19 16:29:56 -07:00
Louis Pilfold
d285c86221
Merge pull request #759 from codeinabox/php-strict-typing
...
Strict typed snippets for PHP getters
2016-07-06 15:58:31 +01:00
ashfinal
2d77c2826d
add fnt,refl,tb3x4
2016-07-05 16:13:04 +08:00
Mathew Attlee
fff3ae4061
Strict typed snippets for PHP getters that check declare(strict_types=1) or for g:ultisnips_php_scalar_types=1
2016-06-29 22:27:30 +01:00
Louis Pilfold
3c262302b5
Merge pull request #757 from gustavooferreira/master
...
Added new snippets to json file.
2016-06-22 13:52:12 +01:00
Gustavo Ferreira
ece5fc1593
Added new snippets to json file.
2016-06-22 03:00:57 +01:00
Mathieu Comandon
d879609014
Fix csrf snippet name in htmldjango
2016-06-21 17:36:46 -07:00
Mathew Attlee
e016f1f78f
Refactored PHP getter and setter snippets to have consistent triggers
2016-06-17 15:18:04 +01:00
Louis Pilfold
1f18320a0d
Merge pull request #698 from oddlydrawn/java_add_num_fix_ws
...
UltiSnips/java.snippets: Adds numbers to word in getArgs, Removes whitespace after braces
2016-06-17 09:30:22 +01:00
Mathew Attlee
09068dc107
Fixed PHP snippets for sbscalar and snbscalar, refactored gs
2016-06-16 19:27:02 +01:00
Mathew Attlee
f79462e9ec
Consolidated PHP snippets and removed UltiSnips duplicates
2016-05-29 12:51:19 +01:00
Mathew Attlee
c2cb84db11
Removed redundant UltiSnips for Twig
2016-05-27 14:20:58 +01:00
Mathew Attlee
120ead2c37
Tidied up and consolidated snippets for PHPUnit
2016-05-27 13:18:16 +01:00
Mathew Attlee
9a8082aba6
Fixed the PHPDoc block for the getter to use @return
2016-05-25 08:57:06 +01:00
Mathew Attlee
1fb648c5e8
PHPUnit snippets for setup, tear down and marking tests skipped
2016-05-22 12:33:36 +01:00
Mathew Attlee
dcab6f8d0a
phpspec matcher snippets
2016-05-15 10:42:28 +01:00
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
oddlydrawn
3d4994b64b
Removes clc getter tab, Removes white space in md, Adds blank line w/o indent in gs
2016-03-11 13:31:09 -07:00
oddlydrawn
7bedb44b55
Adds numbers to word in getArgs, Removes whitespace after braces
2016-03-10 18:46:11 -07: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