Louis Pilfold
ca361c43f9
Merge pull request #668 from phux/hotfix/php-array-snippet-only-in-beginning
...
PHP: trigger php 'array' snippet only for beginning of line.
2016-01-29 18:10:16 +00:00
Matthew Barry
ba38c83495
Use snipMate syntax
...
mixed UltiSnips and snipMate syntax was causing parse errors.
2016-01-11 10:29:54 -06:00
Jan Mollowitz
1a33ecc5ee
PHP: added a few more language method snippets.
2016-01-11 15:28:15 +01:00
Jan Mollowitz
d1453cdd76
PHP: trigger php 'array' snippet only for beginning of line.
2016-01-11 15:23:33 +01:00
Julian Bennecker
fca8299ee3
Added php snippet: throw Exeption
2015-10-03 22:34:50 +02:00
Mario de Frutos
1f5e1c5fda
Added print_r snippet in php
2014-08-14 08:36:45 +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
Marc Camuzat
4f3113255c
Add Phpunit
2013-12-08 17:11:57 +01:00
Marc Weber
6a38707185
fix css_block
2013-10-12 06:49:20 +02:00
Adnan Zafar
7f9c4f5807
Modify snippets to support zero tabstop
2013-09-05 14:53:52 -04:00
Marc Weber
c0cddc9f86
ruby: count from 1, not 0 (I think its very important to think about the name)
...
add static_var snippet
2013-08-08 09:28:08 +02:00
Marc Weber
80697bea6f
replace Filename by vim_snippets#Filename and document it
...
It doesn't make sense that all snippet engines have to
keep this function somewhere
2013-07-08 23:47:14 +02:00
Marc Weber
344ac6ea2c
new policies for if, eif, el
...
What about wh(ile)?
drop some placeholder comments which don't add (enough) value to keep
for patterns used very often.
2013-06-23 02:30:26 +02:00
Michael Thessel
4eb88d7993
Removed comment blocks from placeholders
2013-06-20 23:57:07 +02:00
Michael Thessel
c9336b759a
Added snippet for to print wa variable to a file
2013-04-13 15:57:44 +00:00
Michael Thessel
8ec2e4ce7a
Added array_walk snippet
2013-04-12 02:57:14 +00:00
Michael Thessel
2c858bb724
Added return array placeholder
2013-04-12 02:50:15 +00:00
Michael Thessel
613f3c1b25
Added array_map() snippet
2013-04-12 02:46:37 +00:00
Michael Thessel
95b1a81d6e
Changed class snippet
2013-04-12 01:20:42 +00:00
Michael Thessel
41644d72e5
Whitespace cleanup
2013-04-12 01:18:57 +00:00
Michael Thessel
6ade12ac15
Changed method snippet
2013-04-12 01:16:52 +00:00
Nicklasos
b66dd896e1
Update php.snippets
2013-04-17 00:52:43 +03:00
Nicklasos
42168b1c17
Update php.snippets
...
Add php template snippets.
2013-04-17 00:44:48 +03:00
Yu Huanbo
d052a7d891
add nc
(namespace and class) for php
...
http://knplabs.com/blog/boost-your-productivity-with-sf2-and-vim
2013-04-07 22:33:35 +08:00
chrisyue
ea806b1e9e
fix typo
2013-01-11 11:37:02 +08:00
chrisyue
3a6142acfd
fix a typo
2012-12-20 16:04:11 +08:00
chrisyue
16b958ccd3
add anotation, get and set snippet, good for doctrine
2012-12-20 15:57:51 +08:00
chrisyue
12f2641e9d
make getter and setter even better
2012-12-04 00:18:40 +08:00
chrisyue
211b082845
Merge pull request #1 from zeroem/getset
...
Improved getset snippet
2012-12-03 07:37:12 -08:00
Darrell Hamilton
8cc31cd9d0
Improved getset snippet
...
- Reuse getter @return type for type hinting in the setter
- Separate property and method names to compensate for case
differences
2012-12-02 15:14:30 -08:00
Darrell Hamilton
ffcf23092b
Use Filename() for interface and class name default values
2012-12-02 15:13:11 -08:00
chrisyue
a6a10c8150
new ternary snippet
2012-07-30 23:09:36 +08:00
chrisyue
faa4bb490e
add setter and getter
2012-07-30 16:19:03 +08:00
chrisyue
3508130a21
move GLOBAL var to 'new snippet section'
2012-07-28 14:16:41 +08:00
chrisyue
fff374a6f7
add typehint to
2012-07-27 20:34:02 +08:00
chrisyue
4d13e42868
add typehint to function
2012-07-27 20:04:48 +08:00
chrisyue
4a8ba6ff5b
add new class and interface snippet, and some other improvement
2012-07-27 19:40:14 +08:00
chrisyue
d8c5318448
change 'ph' to '<?' and add 2 forms of in line echo
2012-07-25 12:09:06 +08:00
chrisyue
dccf69d17a
create my own php snippet
2012-07-25 03:02:30 +08:00
George Lee
8dbdbd94e0
a few more snippets for php
2012-04-09 05:26:04 +08:00
George Lee
50c68ed00a
added a few inline snippets for templating
2012-04-07 20:33:16 +08:00
Stuart Grimshaw
4e850eee05
Tidied up phpdoc annotations for classes & removed extra docblock
...
comment from doc_h
2012-02-09 15:58:46 +00:00
Stuart Grimshaw
5a88bac07c
Small fixes after a days real world usage
2011-12-23 09:25:38 +00:00
Stuart Grimshaw
ea8ddb9213
Forgot the ; line terminator!!
2011-12-22 16:29:32 +00:00
Stuart Grimshaw
9946c23c4f
Fixed re-use of snippet data
2011-12-22 15:40:48 +00:00
Stuart Grimshaw
605f3c56b1
Added getset snippet
...
Added a snippet that adds get a getter & setter for the variable
you type for ${1}, also tabs to let you add extra info to the
included @param and @return tags.
2011-12-22 15:03:01 +00:00
Povilas Balzaravicius Pawka
31b1bf7b1f
PHP snippet: vdd (var_dump and die)
2011-11-24 10:44:37 +02:00
Marc Weber
94aebfaadd
Move all snippet files into a snippets directory so that you can install it
...
using VAM. The reason is that snipmate automatically looks for snippets
found in &rtp/snippets
2011-06-21 09:02:13 +02:00