Sergey Alexandrov
f7c83ebbdb
Add a test case for bug 1251994
2013-12-29 01:56:32 +04:00
Sergey Alexandrov
dc313f8c7b
Fix for bug 1251994
...
See: https://bugs.launchpad.net/ultisnips/+bug/1251994
2013-12-29 01:56:09 +04:00
Brian Mock
bc391a330d
Fixed contributors list; saner plugin dir checking.
2013-12-27 10:21:51 -08:00
Brian Mock
e9c00a746b
More style cleanup; added docstrings
2013-12-25 10:47:48 -08:00
Brian Mock
9695633b21
Cleaned up code; updated docs.
2013-12-24 11:34:06 -08:00
Holger Rapp
d7a4f82bc1
Merge branch 'guns-vim-word-boundaries'
2013-12-24 11:31:48 +01:00
guns
7cd4434a99
Evaluate word boundaries with Vim, not r'\b'
...
Certain non ALGOL-derived languages (notably LISP derivatives) do not
share the alphanumeric + underscore definition of a word character.
Fortunately, each language FileType has its own definition of a word
character, which Vim's regex engine uses when matching against the
boundary classes \< and \>.
We change the word matching routine of 'w' snippets to use Vim's regex
engine instead of a static pattern.
2013-12-23 16:34:45 -06:00
Holger Rapp
44fd0c704a
Do not use has_key in snippets, as this is no longer available in python3.
2013-12-15 12:32:04 +01:00
Holger Rapp
cb15778473
html: added w in useful places. Patch by Julian Martin Grinblat.
2013-12-14 14:48:52 +01:00
Brian Mock
0d17585bf8
Launchpad bug-1179630 Autodetect path search order
2013-12-12 23:55:28 -08:00
Holger Rapp
179af2f970
Merge pull request #115 from heytrav/master
...
perl: use parent in place of base and uncuddle "else" as suggested by the Perl Best Practices book.
2013-12-02 22:32:31 -08:00
Holger Rapp
9588754e73
Merge pull request #117 from mygoare/patch-2
...
ruby: fix `each_slice` can't trigger
2013-12-02 22:30:18 -08:00
Holger Rapp
f292def2ed
Merge pull request #116 from mygoare/patch-1
...
ruby: make each_with_index snippet consistent with the rest of the file.
2013-12-02 22:29:54 -08:00
Goare Mao
c07996bd22
fix each_slice
can't trigger
2013-12-03 11:18:21 +08:00
Goare Mao
e45c9a8041
fix a little problem
2013-12-02 19:23:05 +08:00
Travis Holton
7265bcb5c1
use parent in place of "base"
2013-12-02 20:27:54 +13:00
Travis Holton
af9f42c539
General Perl Best Practice stuff: uncuddle "else", localise $@
...
use $exception in place of $e
2013-12-02 20:27:39 +13:00
Holger Rapp
cca1deb78c
Merge pull request #114 from nanyaks/master
...
php: Added ${2: `!v g:snips_author`} to php 'class' snippet
2013-11-28 08:10:59 -08:00
Loknan Nanyak
6012a2d914
Added ${2: !v g:snips_author
} to snippet 'class'
...
The php.snippet was changed on line 219 to:
"@author ${2:`!v g:snips_author`}", to insert author name for php classes.
2013-11-27 15:26:10 +01:00
Holger Rapp
4b91492280
Merge pull request #113 from AntoineD/dev
...
Python: for loop.
2013-11-20 07:09:34 -08:00
Antoine Dechaume
9ebe2b6886
update after SirVer review
2013-11-19 21:59:12 +01:00
Antoine Dechaume
4f6bcae1f9
Revert "python: add TODO snippet"
...
This reverts commit 2675e55dc1
.
2013-11-19 21:56:41 +01:00
Holger Rapp
ac45d98767
Merge pull request #112 from dsimmons/enhancement/go-snippets
...
go: added struct, json and interface snippets.
2013-11-19 07:00:14 -08:00
Antoine Dechaume
2675e55dc1
python: add TODO snippet
2013-11-18 21:48:39 +01:00
Antoine Dechaume
0e6529fbb0
python: add for loop snipet
2013-11-18 21:48:20 +01:00
Dan Simmons
8006112de9
Added a few useful Go snippets that I've been using locally.
2013-11-18 10:52:02 -05:00
Holger Rapp
1d18c1ce10
Merge pull request #111 from athom/patch-2
...
go: Added select snippet.
2013-11-18 06:22:33 -08:00
yeer
c2f96bd7c1
Update go.snippets
...
add select statement
2013-11-16 10:49:56 +08:00
mMontu
ecb7dfdf64
Change default value/check, fix for nested snippets
2013-11-10 21:15:24 -02:00
Holger Rapp
1600f5bbea
php: Bug fixes for php by Ye Yen.
2013-11-09 17:07:08 +01:00
Holger Rapp
6ad9a396dd
Merge pull request #108 from memand/master
...
html, django: img snippet and small fixes.
2013-10-30 23:03:22 -07:00
Noa Johan Thorstensson
12c807607a
Removed mistake
2013-10-30 16:47:10 +01:00
Holger Rapp
fe0787be47
Merge pull request #109 from marshall-lee/master
...
fixed KeyboardInterrupt bug when listing snippets (bug 1245168).
2013-10-29 22:21:06 -07:00
marshall-lee
cf51610c3a
fixed KeyboardInterrupt bug when listing snippets
2013-10-30 03:50:30 +03:00
Noa Johan Thorstensson
d61df48add
Added img snip
2013-10-29 07:44:57 +01:00
Noa Johan Thorstensson
038cfdbd8f
Added img snip and improved block snip
2013-10-29 07:43:44 +01:00
Holger Rapp
1cfee85b4c
Added a license file.
2013-10-29 07:22:06 +01:00
Holger Rapp
122b9cca82
Merge pull request #106 from mohd-akram/master
...
Minor fix for Python 3
2013-10-23 13:33:42 -07:00
mohd-akram
49e633b4ec
Fix for Python 3
2013-10-23 09:55:24 -07:00
Holger Rapp
331eae1529
Feature: a option for converting into ASCII before transforming. Patch by rgiot.
2013-10-23 08:16:59 +02:00
Holger Rapp
ce28c27285
Fixed a small bug.
2013-10-23 08:10:58 +02:00
Holger Rapp
928b4ad093
Merge pull request #105 from npearson72/master
...
Ruby: small bug fix. do block args should be inside the pipe symbols
2013-10-20 22:50:50 -07:00
Holger Rapp
ef2c657721
Merge branch 'master' of git://github.com/rgiot/ultisnips into rgiot-master
2013-10-21 06:30:38 +02:00
Nathan Pearson
1a496b43a3
Changes ruby do block args so they are inside the pipe symbols
2013-10-20 19:28:43 -07:00
Romain Giot
de7bff28df
Update tests to make test -a option only when unidecode is installed
2013-10-19 15:34:13 +02:00
Romain Giot
9e813c7f3e
Improve the documentation
2013-10-19 15:26:44 +02:00
Holger Rapp
0b8c95645f
Improvements to the docs by fehlerfix.
2013-10-18 11:43:10 +02:00
Holger Rapp
b8e0a6167d
Fixed a bug in displaying error messages.
2013-10-15 11:02:12 +02:00
Romain Giot
ddcf183a59
Add two additional tests for the 'a' flag in the transformation
2013-10-07 09:49:02 +02:00
Romain Giot
2bf3d10884
Add a documentation to the 'a' flag
2013-10-07 09:48:34 +02:00