Commit Graph

164 Commits

Author SHA1 Message Date
Holger Rapp
a811b756d0 Merge pull request #456 from BlackIkeEagle/php-docblock-methods
Php: docblock methods
2014-09-29 20:22:59 +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
0249456bcf Merge pull request #426 from yazengo/master
pandoc: snippets for UltiSnips
2014-09-15 07:20:05 +02: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
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
Bernhard Graf
04b34330ee add snippet for until 2014-09-07 15:05:37 +02:00
Procras
e0b428f191 remove last blank line for ONCE snippet 2014-09-05 10:58:09 +08:00
xz.zhang
8ab05aaa9f remove priority in the first line 2014-09-04 09:03:28 +08:00
Michael Gehring
2f5af90bc7 Update rust snippets 2014-09-02 20:37:58 +02:00
Holger Rapp
6f1eacee1c Merge pull request #421 from ethervoid/pr_snippet_collision
php: Avoid collision with print_r snippet
2014-09-01 07:11:21 +02:00
Holger Rapp
d0e8361eef Merge pull request #434 from feju/master
SCSS: Adds extends css and removes unnecessary regular expression triggers.
2014-09-01 06:15:53 +02:00
Felix Jung
c2ba253951 Fixes and CSS support
- Removed regular expressions since they break YCM previews
- Extends the CSS snippets so you can use CSS snippets in Sass
2014-08-31 19:50:09 +02:00
Filipe Giusti
bc75e48a73 Add <th> in html 2014-08-29 17:44:54 -03:00
xz.zhang
21790c67c9 correct option 2014-08-29 15:45:25 +08:00
xz.zhang
474fbee731 pull request review 2014-08-28 15:27:29 +08:00
xz.zhang
7036579635 add pandoc snippet for UltiSnips 2014-08-26 19:52:53 +08:00
obaoba
f7d4aa5efa adding Ada snippets 2014-08-23 16:13:08 +02:00
X4fyr
1d5ccd6f3f Changed @todo to TODO 2014-08-23 01:13:56 +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
Alex Tan
c194e8b6d2 Add expect(...).toBe(...) snippet for Jasmine 2014-08-06 17:03:23 -04:00
Honza Pokorny
a6bdf9b239 Merge pull request #416 from idbrii/add-modeline
Add vim modeline snippets
2014-08-04 03:21:07 -03: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
Nick Janetakis
506d5a3728 Extend html in eruby 2014-07-27 19:20:29 -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
Christian Neumüller
079710814f rst: Add $VISUAL. 2014-07-26 11:48:39 +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
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
Pascal
c6983fcd6a Add python test snippets for assertIsNone and assertIsNotNone 2014-07-25 10:59:07 -04: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
Cézar Antáres
91a31b1fba PHP Class snippet was working wrong 2014-07-06 22:22:35 -05: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
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
Jan Mollowitz
f11ec0bf18 Added basic class with namespace snippet. 2014-07-01 21:47:05 +02:00
zauguin
753e0ae39d Added ${VISUAL} to C once snippet 2014-06-30 06:46:10 +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
opennota
6acd456aae Add fori snippet for Go 2014-06-15 10:01:27 +07:00
emzap79
b76fe5e8ef add cleaned-up snippets for R 2014-06-09 10:47:43 +02:00
Piotr Jawniak
b0733edacc One new snippet and one small fix for Rust 2014-06-01 12:39:50 +02:00