Commit Graph

1040 Commits

Author SHA1 Message Date
Honza Pokorny
90723f6d27 Merge pull request #424 from X4fyr/master
Changed @todo to TODO
2014-08-23 08:51:44 -03:00
X4fyr
1d5ccd6f3f Changed @todo to TODO 2014-08-23 01:13:56 +02:00
Honza Pokorny
b3f19f7df4 Merge pull request #423 from ConnorAtherton/cla-node-snippets
Modify js prototype and add node snippets
2014-08-20 16:32:55 -03:00
Connor Atherton
9cf1d0e502 Modify js proto and add node snippets 2014-08-20 20:05:28 +01:00
Honza Pokorny
e101634ee1 Merge pull request #422 from cirosantilli/tex-listings
Add tex listings snippets.
2014-08-18 02:04:05 -03:00
Ciro Santilli
1972ec10bd Add tex listings snippets. 2014-08-17 18:18:18 +02:00
Mario de Frutos
5d012dba29 More adecuate naming 2014-08-14 13:26:54 +02:00
Mario de Frutos
4e13b696d6 Avoid collision with print_r snippet 2014-08-14 10:28:31 +02:00
Honza Pokorny
d6d27d5ef1 Merge pull request #420 from ethervoid/printr_snippet
Added print_r snippet in php
2014-08-14 03:43:52 -03:00
Mario de Frutos
1f5e1c5fda Added print_r snippet in php 2014-08-14 08:36:45 +02:00
Honza Pokorny
88a6e1a285 Merge pull request #419 from NickPapanastasiou/master
added snippets/d.snippets
2014-08-11 14:42:08 -03:00
Nick Papanastasiou
04207c93e3 added snippets/d.snippets 2014-08-11 12:23:41 -04:00
Honza Pokorny
6a3c38f226 Merge pull request #418 from alex-tan/add-expect-to-be-to-jasmine
Add expect(...).toBe(...) snippet for Jasmine
2014-08-07 03:00:43 -03:00
Alex Tan
c194e8b6d2 Add expect(...).toBe(...) snippet for Jasmine 2014-08-06 17:03:23 -04:00
Honza Pokorny
a5db05e17b Merge pull request #417 from abra/master
Add public class snippet
2014-08-04 04:36:16 -03:00
Aydar Khabibullin
6a91a09d5d Add public class snippet 2014-08-04 13:03:07 +06:00
Honza Pokorny
a6bdf9b239 Merge pull request #416 from idbrii/add-modeline
Add vim modeline snippets
2014-08-04 03:21:07 -03:00
Holger Rapp
a93de17182 Merge pull request #415 from joshaw/master
java: Add VISUAL to several snippets
2014-08-02 11:07:39 +02:00
pydave
2f20b96a50 Add vim modeline snippets
Add an 'all' and a 'help' snippet for vim modelines.

The 'all' snippet implements the advice in tabstop's docs about setting
softtabstop when using noexpandtab what other variables (expandtab,
shiftwidth, and tabstop) to set. It sets these variables to their
current values.

Vim supports two forms of modelines, but only the second (that includes
the 'set') works in languages with comment terminators (/* like C */).

The 'help' snippet uses exactly what vim help files use (including the
leading space -- I expect users will insert the modeline at the start of
a line).

Does some unnecessary interpolation ('set' and 'vim') to prevent vim
from interpreting the snippet definition as a modeline for the snippets
file.
2014-08-01 09:31:13 -07:00
Josh Wainwright
437196368e Don't highlight selected text after wrapping 2014-08-01 16:26:29 +01:00
Josh Wainwright
ae1631ca09 Correct anchor 2014-08-01 15:51:04 +01:00
Josh Wainwright
a7fc95dfbe Add VISUAL to several snippets to allow wrapping selected text 2014-08-01 15:48:11 +01:00
Tobias Witt
a83775cfeb Add snippets for requirejs module definitions for coffee- and javascript
The snippet that generates a require block is called `reqjs` in order to
have no collision with the existing `req` snippet.
2014-08-01 10:08:21 +02:00
Honza Pokorny
6414b58211 Merge pull request #406 from jasonsjones/master
Add html comment snippet
2014-07-29 06:55:22 -03:00
Holger Rapp
bdea1dfeca Merge pull request #413 from nickjj/master
eruby: Extends html
2014-07-28 20:51:41 +02:00
Eustáquio Rangel
74ff88e25c Merge pull request #412 from majjoha/rspec-snippets
Move the RSpec snippets from rails.snippets to ruby.snippets.
2014-07-28 14:22:39 -03:00
Honza Pokorny
fa2b5cb402 Merge pull request #409 from Oberon00/add-gitignore
.gitignore pyc files.
2014-07-28 05:14:35 -03:00
Nick Janetakis
506d5a3728 Extend html in eruby 2014-07-27 19:20:29 -04:00
majjoha
0f712a1423 Move the RSpec snippets from rails.snippets to ruby.snippets. 2014-07-26 17:36:16 -04:00
Holger Rapp
23e1406784 Merge pull request #408 from Oberon00/rst-fix-python3
rst: Improve compatibility of snippets with Python 3
2014-07-26 14:42:08 +02:00
Christian Neumüller
71e770a4d9 rst: Replace xrange() by Python 3 compatible range(). 2014-07-26 13:09:34 +02:00
Holger Rapp
e47ab15aeb Merge pull request #410 from Oberon00/rst-add-visual
rst: Add $VISUAL.
2014-07-26 12:26:46 +02:00
Christian Neumüller
079710814f rst: Add $VISUAL. 2014-07-26 11:48:39 +02:00
Christian Neumüller
c5e6a6d2a7 .gitignore pyc files. 2014-07-26 11:41:27 +02:00
Christian Neumüller
5eaa61ae27 rst: Make has_cjk() Python 3 compatible.
In Python 3, iterators no longer have a next() method: it has been renamed to
__next__(). This could be worked around by using the builtin function next(),
but a simpler fix is to just use the regex' object search() method instead of
finditer().
2014-07-26 11:38:30 +02:00
Holger Rapp
84050b4b8d Merge pull request #407 from joshaw/master
Java: Make trigger for "else" inline with recommendations.
2014-07-26 11:20:22 +02:00
Josh Wainwright
2cc6493457 Make trigger for "else" inline with recommendations.
Also make it require word boundary so does not expand within a word.
2014-07-26 09:49:49 +01:00
Jason S. Jones
1a2e6e8311 Add html comment snippet 2014-07-25 21:30:28 -07:00
Holger Rapp
4cd2d9bc09 Merge pull request #404 from okcompute/master
python: Add snippets for assertIsNone and assertIsNotNone
2014-07-25 22:59:51 +02:00
Pascal
c6983fcd6a Add python test snippets for assertIsNone and assertIsNotNone 2014-07-25 10:59:07 -04:00
Eustaquio Rangel
0073abacb2 Minitest snippets 2014-07-19 11:33:29 -03:00
Eustaquio Rangel
e311671659 Revised the Rails snippets according to Ruby code styles. 2014-07-18 19:11:31 -03:00
Eustaquio Rangel
8bb5faebbc Revised the Ruby snippets to conform to Rubocop rules. 2014-07-18 10:52:57 -03:00
Eustaquio Rangel
4cdf9dbf86 Changed double quotes to single quotes.
We'll start to change this to make valid Ruby source files according to
Rubocop (https://github.com/bbatsov/rubocop). Changes here came from
https://github.com/honza/vim-snippets/pull/401, thanks for warning us, @mkroman!
2014-07-16 19:40:38 -03:00
Eustaquio Rangel
cbcc23571f Starting to split Ruby and Rails snippets 2014-07-16 19:20:00 -03:00
Holger Rapp
66189ef371 Merge pull request #403 from ravl1084/testing
ledger: Correct spacing.
2014-07-16 06:21:46 +02:00
Rene Vergara
e9c9ea0b41 Merge branch 'testing' of https://github.com/ravl1084/vim-snippets into testing
Conflicts:
	UltiSnips/ledger.snippets
2014-07-15 16:13:02 -05:00
Rene Vergara
d883a0ca82 Correct spacing for vim highlighting 2014-07-15 16:10:04 -05:00
Rene Vergara
ede995ce81 Correct spacing for vim highlighting 2014-07-15 16:02:19 -05:00
Honza Pokorny
291f349155 Merge pull request #400 from ZzAntares/patch-1
PHP Class snippet was working wrong
2014-07-07 01:01:25 -03:00