Commit Graph

1229 Commits

Author SHA1 Message Date
Louis Pilfold
faeacc8c27 Remove Scala braces to adhere to the style guide
Scala if statements can have braces, but convention is not to use them
except in specific situations; so let's not use them by default.

Let's also add a space before the opening `(`, as this is also
convention.

Lastly, remove the useless placeholder text, as recommende in the
project README. Everyone knows how an if statement works. :)

http://www.codecommit.com/scala-style-guide.pdf
2014-10-09 14:38:25 +01:00
Louis Pilfold
c34ee98d85 JS: Group related snippets together. 2014-10-09 10:47:38 +01:00
Craig Paterson
ff8c1277be Added some additional angular snippets and changed the existing ones
to use the annotated syntax which supports minifications, see:
https://docs.angularjs.org/tutorial/step_05 (A note on minification).
Also added some variants that auto-insert the scope, which is commonly
done.
2014-10-09 11:26:39 +02:00
Craig Paterson
9191e53407 Change jsdoc author info to match jsdoc documentation format at
http://usejsdoc.org/tags-author.html
2014-10-09 11:01:36 +02:00
Honza Pokorny
6d36226a18 Merge pull request #464 from lpil/js-return-semicolon
Added missing semicolon to JS return statement
2014-10-09 03:33:23 -03:00
Honza Pokorny
ebf6fb2383 Merge pull request #463 from lpil/js-dom-selectors
Added JS DOM element selector snippets
2014-10-09 03:32:35 -03:00
Honza Pokorny
b73a20655d Merge pull request #462 from lpil/js-quotes
js define prop: Use single quotes to match style
2014-10-09 03:32:16 -03:00
Honza Pokorny
63e82d28f9 Merge pull request #461 from lpil/js-node-quotes
js node require: Use single quotes to match style
2014-10-09 03:32:04 -03:00
Daniel Hahler
3514b3cb44 Use actual value for SINGLE_QUOTES/DOUBLE_QUOTES 2014-10-08 15:23:05 +02:00
Louis Pilfold
ea8dc0592f Added missing semicolon to JS return statement 2014-10-08 10:52:36 +01:00
Louis Pilfold
9eea452005 Added JS DOM element selector snippets
So not everyone uses jQuery. Who knew?

I've added snippets for the main vanilla JS DOM element selector
snippets.
2014-10-08 10:47:31 +01:00
Louis Pilfold
f488d4842d js define prop: Use single quotes to match style
In the other vanila snippets we are using single quotes. I've changed
the define property snippet to conform to this style.
2014-10-08 10:09:42 +01:00
Louis Pilfold
885fdc4e75 js node require: Use single quotes to match style
In the other node snippets we are using single quotes. I've changed the
node require snippet to conform to this style.
2014-10-08 09:54:36 +01:00
Holger Rapp
c7c1734b44 Merge pull request #459 from xvadim/feature
Python: added snippets for classmethod and staticmethod
2014-10-06 06:37:06 +02:00
Vadim Khohlov
f298510733 Added docstring; removed empty line 2014-10-05 00:25:28 +03:00
Holger Rapp
f528750557 Merge pull request #460 from andreicristianpetcu/master
added pry to eruby
2014-10-04 15:25:20 +02:00
Andrei Cristian Petcu
0ee4b84902 added pry to eruby 2014-10-04 15:42:21 +03:00
Vadim Khohlov
2bffc46ecb Python: added snippets for classmethod and staticmethod 2014-10-02 14:02:26 +03:00
Holger Rapp
a811b756d0 Merge pull request #456 from BlackIkeEagle/php-docblock-methods
Php: docblock methods
2014-09-29 20:22:59 +02:00
Holger Rapp
384659ff01 Merge pull request #457 from BlackIkeEagle/php-extra-class-definitions
Php: extra class definitions
2014-09-29 20:22:10 +02:00
BlackEagle
dca6268c24 php add interface snippet similar to class snippet
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2014-09-23 09:51:44 +02:00
BlackEagle
41f9d7dc5a php extend class snippet so you can easily add abstract or final
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2014-09-23 09:50:51 +02:00
BlackEagle
6e0180c5fc add inheritdoc docblock snippet
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2014-09-23 09:19:26 +02:00
BlackEagle
faec22c56d add simple docblocks for class methods
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2014-09-23 09:18:53 +02:00
Holger Rapp
6dde955798 Merge pull request #455 from thomd/html-snippet
fixed indentation in html snippets (for UltiSnips)
2014-09-22 18:30:12 +02:00
Honza Pokorny
c1bc3da7af Merge pull request #454 from nguyen-le/master
Added missing quotes on embed and textarea tags in html snippets
2014-09-22 06:42:10 -03:00
Thomas Duerr
d515554f16 fixed indentation in html snippets 2014-09-22 10:23:37 +02:00
Nguyen Le
0b323ed6be Added missing quotes on embed and textarea tags in html snippets 2014-09-20 22:08:14 -07:00
Holger Rapp
0939e8e578 Merge pull request #448 from lpil/remove-js-placeholders
JS: Remove useless placeholder text from functions
2014-09-18 19:12:43 +02:00
Louis Pilfold
1df9d6cc66 Replaced documentary js placeholders 2014-09-18 15:59:42 +01:00
Holger Rapp
3462a1c7b4 Merge pull request #452 from lpil/var-fun
Correct js vf ${1} snippet syntax error
2014-09-18 16:33:48 +02:00
Holger Rapp
4a72edfcce Merge pull request #453 from ikibits/customize
Customize html, adapt css.snippet and add features for stylus
2014-09-18 16:19:49 +02:00
Tony
4343a3c660 customize tags html 2014-09-17 20:54:32 -05:00
Tony
59e9d8e9bd customize attributes 2014-09-17 20:54:32 -05:00
Tony
6a4cadf159 Adapt css.snippet and add features for stylus 2014-09-17 20:54:32 -05:00
Louis Pilfold
5aad7a4467 Correct js vf ${1} snippet syntax error
Use of ${1} twice rather than ${1} followed by $1 caused vim-snipmate to skip this field.
2014-09-16 09:24:10 +01:00
Honza Pokorny
1745f242ea Merge pull request #451 from lpil/var-fun
Add missing semicolon to js vf
2014-09-16 01:41:02 -03:00
Louis Pilfold
00c1711fb6 Add missing semicolon to js vf 2014-09-15 12:52:04 +01:00
Holger Rapp
0249456bcf Merge pull request #426 from yazengo/master
pandoc: snippets for UltiSnips
2014-09-15 07:20:05 +02:00
Honza Pokorny
2c55662d91 Merge pull request #449 from lpil/var-fun
Add JS function assigned to variable snippet
2014-09-15 01:28:26 -03:00
Louis Pilfold
6448deadba Add JS function assigned to variable snippet 2014-09-12 17:12:00 +01:00
Louis Pilfold
ffcd8b8e2a Remove useless placeholder text from JS functions 2014-09-12 16:56:36 +01:00
Holger Rapp
13a14fa514 Merge pull request #445 from ToruIwashita/zsh_function_snippet
zsh: Changed zsh snippet for function
2014-09-11 06:44:57 -07:00
Holger Rapp
6db93bcabf Merge pull request #446 from BlackIkeEagle/php-typo
php: fix do{} while snippet typo, does not end on"
2014-09-11 06:27:48 -07:00
Holger Rapp
79ab2a87c9 Merge pull request #447 from BlackIkeEagle/php-elseif
php: add elseif
2014-09-11 06:26:48 -07:00
BlackEagle
9665df2022 php :: add elseif
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2014-09-11 14:06:36 +02:00
BlackEagle
ace1d94dd8 php :: fix do{}while snippet typo, does not end on"
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2014-09-11 13:58:01 +02:00
ToruIwashita
5035531ca8 Changed zsh snippet for function 2014-09-11 13:48:54 +09:00
Honza Pokorny
cc58c3b99c Merge pull request #444 from lbv/master
Fix indentation in coffee snippet
2014-09-10 15:31:01 -03:00
Leonardo B
3a480314cc Fix indentation 2014-09-10 09:33:47 -05:00