Commit Graph

1306 Commits

Author SHA1 Message Date
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
Cézar Antáres
91a31b1fba PHP Class snippet was working wrong 2014-07-06 22:22:35 -05:00
Holger Rapp
f76d9356a2 Merge pull request #397 from lucc/bug/tex/newcommand
Tex: Escape a \.
2014-07-04 17:17:27 +02:00
Lucas Hoffmann
fe949a3477 Escape backslash before tabstop. 2014-07-03 22:49:07 +02:00
Holger Rapp
0d31e68682 Merge pull request #398 from Oberon00/patch-1
rst: Fix and improve rst_char_len
2014-07-03 22:36:03 +02:00
Honza Pokorny
060fb094c8 Merge pull request #399 from kevinschaul/master
Add javascript console.debug snippet
2014-07-03 16:26:01 -03:00
Christian
3dcb2900b2 rst: Remove comment about requiring Python 2.4+.
Ultisnips needs 2.6, so this is save.
2014-07-03 20:40:09 +02:00
Kevin Schaul
6c0f3aa278 Add javascript console.debug snippet 2014-07-03 10:04:20 -04:00
Christian
bb35409199 Fix and improve rst_char_len
The previously used regex was plainly wrong (see #394). This solution should be more solid.
2014-07-03 12:52:40 +02:00
Holger Rapp
19e30308c9 Merge pull request #396 from phux/master
php: Added basic class with namespace snippet.
2014-07-02 07:07:12 +02:00
Jan Mollowitz
f11ec0bf18 Added basic class with namespace snippet. 2014-07-01 21:47:05 +02:00
Marc Weber
43b272fd39 name/array/bar in php's fun snippet is annoying, remove them
There are anonymous functions, too: $a = function(){ .. };
2014-07-01 20:35:16 +02:00
Holger Rapp
bece421bda Merge pull request #395 from zauguin/master
C: Added ${VISUAL} to once snippet
2014-06-30 06:58:55 +02:00
zauguin
753e0ae39d Added ${VISUAL} to C once snippet 2014-06-30 06:46:10 +02:00
Holger Rapp
368acf7e27 Merge pull request #392 from feju/master
Julia: New documentation snippets
2014-06-26 06:47:06 +02:00
Felix Jung
4a63c78bd1 Added b option, removed todo snippet. 2014-06-25 11:01:10 +02:00
Felix Jung
db3a57e104 Initial commit
Adds snippets for function and type documentation, as used by the
DataArrays package for Julia.

Adds TODO snippet.
2014-06-23 13:48:32 +02:00
Felix Jung
79a0442e54 Added ternary operator snippet 2014-06-23 12:37:17 +02:00
Honza Pokorny
d6be69ad31 Merge pull request #391 from 0hansen/master
Added asserts for JUnit tests
2014-06-23 03:22:06 -03:00
Ole Hansen
0513b65541 Added JUnit asserts and fail snippets 2014-06-22 16:49:15 +02:00
Ole Hansen
a84f6f3819 Fixed singleton getInstance 2014-06-22 16:29:23 +02:00
Honza Pokorny
fa45583c4d Merge pull request #390 from crzidea/patch-2
Delete html_minimal.snippets
2014-06-19 03:09:46 -03:00
Honza Pokorny
a59a76538b Merge pull request #389 from crzidea/patch-1
Remove ; after "f"
2014-06-19 03:09:20 -03:00
Li Xin
0f02b64b3d Delete html_minimal.snippets
html_minimal.snippets has not been updated for 8 months. Some snippets is conflict with html.snippets.
2014-06-19 00:18:33 +08:00
Li Xin
bbf7e13943 Remove ; after "f"
Anonymouse functions may not need ; at most times.
2014-06-19 00:14:51 +08:00
Holger Rapp
2918d1e3ef Merge pull request #387 from feju/master
Julia: Snippets for Julia
2014-06-16 16:30:48 +02:00
Holger Rapp
ad8d939c5e Merge pull request #388 from opennota/master
Go: Add fori snippet
2014-06-15 18:02:54 +02:00
opennota
6acd456aae Add fori snippet for Go 2014-06-15 10:01:27 +07:00
Felix Jung
40e9ffc371 Fixes and additions
Various fixes to comply with vim-snippets conventions.
Addition of various new snippets.
2014-06-12 16:19:37 +02:00
Honza Pokorny
f3421aa0e5 Merge pull request #386 from cirosantilli/anchor-clipboard
Add HTML `ac` Anchor from Clipboard.
2014-06-12 04:42:33 -03:00
Felix Jung
64a62d09f8 Merge branch 'master' of github.com:feju/vim-snippets
Conflicts:
	snippets/julia.snippets
2014-06-11 20:54:01 +02:00
Felix Jung
335637c3b6 Fix indentation 2014-06-11 20:52:45 +02:00
Felix Jung
8161986df3 Fix indentation 2014-06-11 20:48:03 +02:00
Felix Jung
cbbb5b1720 Fix indentation 2014-06-11 20:45:53 +02:00
Felix Jung
2c86dc71f0 Merge remote-tracking branch 'upstream/master' 2014-06-11 20:08:00 +02:00