Commit Graph

1293 Commits

Author SHA1 Message Date
Louis Pilfold
ae0cca3345 Ultisnips: Common CSS snippets
These already exist in the `snippets` style, but thse will not be loaded
by Ultisnips when working with SCSS files, due to how the extend feature
works.
2014-10-23 10:00:12 +01:00
Louis Pilfold
90d9862a90 Scala for comprehension 2014-10-23 09:31:19 +01:00
Daniel Hahler
1bb849e284 Add snippets ', " and doc
`'` and `"` use a new function `triple_quotes_handle_trailing` which
handles trailing/existing quotes.

This handles expansion of`"|"`, where the second quote gets automatically
inserted by e.g. delimitMate.
2014-10-20 08:31:14 +02:00
Louis
d4cb189306 Fix bug #471: Swap spaces for a tab in pry snippet 2014-10-17 23:15:51 +01:00
Louis Pilfold
7bdc3b047f UltiSnips HTML: Remove redundant img snippet 2014-10-17 10:19:01 +01:00
Louis Pilfold
8637c918ce UltiSnips: HTML div with class. 2014-10-17 10:12:50 +01:00
Louis Pilfold
f910952351 UltiSnips: default to no ID for divs 2014-10-17 10:02:03 +01:00
Louis Pilfold
2d47b85358 JS: Add missing closing quotes 2014-10-13 13:47:00 +01:00
Louis Pilfold
0373b8400e Fix JS DOM selector placeholders 2014-10-13 13:41:52 +01:00
Louis
e2bd41af02 SCSS snipmate snippes 2014-10-11 13:35:51 +01:00
Louis Pilfold
3216ac221e Fix Bug in UltiSnips/tex.snippets fig env b
As mmclaren42 seems to be MIA, I've fixed committed the fix they
suggested.

https://github.com/honza/vim-snippets/issues/450
2014-10-10 17:19:51 +01:00
Louis Pilfold
59c1db473f More JS console. snippets 2014-10-10 16:50:51 +01:00
Honza Pokorny
850fee18b0 Merge pull request #467 from craigp/angular_minification_fix_plus_additional
Added some additional angular snippets and changed the existing ones
2014-10-09 14:45:23 -03:00
Honza Pokorny
6103c953d1 Merge pull request #466 from craigp/change_jsdoc_author_to_match_ref_docs
Change jsdoc author info to match jsdoc documentation format at http://usejsdoc.org/tags-author.html
2014-10-09 14:44:42 -03:00
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