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
Holger Rapp
7a6abe02ec
Merge pull request #102 from phux/master
...
php: added __construct() snippet
2013-10-06 22:47:33 -07:00
mMontu
6d7f52bb6e
Include handling for expansion from list_snippets
2013-10-05 15:59:21 -03:00
mMontu
a32473a5d4
Option for JumpTrigger only during snippet expansion
2013-10-05 13:19:20 -03:00
Holger Rapp
1097b280a3
Made detection of sh more stable.
2013-10-03 13:10:03 +02:00
Romain Giot
449255a060
Add an error message when unidecode is not installed. The message is displayed only one time
2013-10-03 09:11:36 +02:00
Jan Mollowitz
b51800cd0c
php: added b flag to construct snippet
2013-10-02 22:21:02 +02:00
Romain Giot
a150220cf2
Allow to use the flag 'a' in the transformation commands.
...
This way, in a Latex file written with accentueted letters, the label use non accentueted letters instead of _.
2013-10-02 13:48:12 +02:00
Jan Mollowitz
839e3f3ebb
php snippets: added __construct() snippet
2013-09-27 16:22:51 +02:00
Holger Rapp
88645f03ea
Merge pull request #101 from ianoxley/jsfor
...
Javascript: remove unnecessary semicolon'.
2013-09-10 10:03:23 -07:00
Ian Oxley
421cb8a68a
JSHint complained about 'Unnecessary semicolon'.
...
JSHint complained about the semicolons at the end of the for loop
snippets, so I've removed the semicolons after the for loop closing braces.
2013-09-10 14:59:55 +01:00
Holger Rapp
ced4f76db8
There are more than two functions now.
2013-09-10 06:29:02 +02:00
Holger Rapp
d5f4e259e5
Merge pull request #99 from amurdaca/patch-1
...
Javascript: Remove space between function declaration and arguments list.
2013-09-01 22:12:24 -07:00
Holger Rapp
9c8582f061
Merge pull request #97 from nulpunkt/master
...
Php: Make class snippet PSR-0 compliant
2013-09-01 22:08:12 -07:00
Holger Rapp
53b6d2e502
Merge pull request #95 from ianoxley/requirejs
...
Javascript: RequireJS snippets.
2013-09-01 22:06:25 -07:00
Antonio Murdaca
ccabc82ed4
Remove space between function declaration and arguments list (jshint complains too)
2013-08-29 18:20:38 +02:00
Ian Oxley
bc322038d2
Replaced 'RequireJS' with 'AMD'.
...
These snippets are more general AMD snippets, rather than being specific
to RequireJS i.e. they can be used by anyone using an AMD script loader,
not just RequireJS.
2013-08-20 11:42:10 +01:00
Jesper Skovgård Nielsen
25abb55a5e
Make class snippet PSR-0 compliant
...
When making a file classes ViewHelper.php, you would expect the classname to be ViewHelper, not Viewhelper.
2013-08-19 11:19:54 +02:00
Ian Oxley
ccc524c2e9
Moved RequireJS snippets into javascript.snippets.
...
The two snippets are at the end of javascript.snippets, and the javascript_requirejs.snippets file has been deleted.
2013-08-15 16:38:09 +01:00
Ian Oxley
f8a5dfb05b
requirejs JavaScript snippets.
...
Added 2 snippets: for the define and require functions.
2013-08-09 16:19:54 +01:00
Holger Rapp
84c36fccd8
Merge pull request #94 from jszakmeister/fix-escaping-in-list_snippets_dict
...
Escape apostrophes in the description inside of list_snippets_dict.
2013-08-05 20:24:35 -07:00
John Szakmeister
31f318cb7e
Teach list_snippets_dict to escape apostrophes in the description.
...
This was discovered while trying to use
UltiSnips_SnippetsInCurrentScope() with some snippets that have
apostrophes in the description (such as printf('...', ...)).
2013-08-05 16:43:58 -04:00
Holger Rapp
4a1e5e60ff
Merge pull request #93 from zenzike/master
...
lhashell: Initial versio.
2013-07-31 19:32:18 -07:00
Nicolas Wu
8e8a55455d
Add lhaskell support
2013-07-30 09:45:20 +01:00
Holger Rapp
ce6ade8fa7
Merge pull request #91 from aschrab/html_div
...
html: Improve <div> snippet
2013-07-20 01:26:48 -07:00
Aaron Schrab
1ad668df2d
Improve html <div> snippet
...
The "class" attribute is commonly set for <div>s, but the current
snippet definition makes it difficult to create any attributes other
than "id". Setup that attribute as the id is done, so that either or
both may be easily included.
2013-07-19 18:04:27 -04:00
Holger Rapp
f3adc723ad
Merge pull request #90 from vuduchild/fix_eruby_f_label_snippets
...
Eruby: Fixed eruby f.label snippets
2013-07-19 14:31:51 -07:00
Roy Rothenberg
9aa2582531
Fixed eruby f.label snippets
2013-07-19 18:51:40 +03:00
Holger Rapp
f2fe779a1d
Merge pull request #89 from DXist/master
...
Python: PEP257 and PEP8 fixes.
2013-07-17 23:55:33 -07:00
Rinat Shigapov
649b00ca36
Spaces changed to tabs
2013-07-17 12:36:25 +04:00
Rinat Shigapov
cf4d0f0440
Docstrings follow PEP257. PEP8 fixes.
2013-07-16 19:17:31 +04:00
Holger Rapp
cd83608df3
Pass <s-tab> through to supertab.
2013-07-16 07:05:42 +02:00
Holger Rapp
43b1cbd958
Merge pull request #88 from kljohann/master
...
fix property and slotted class python snippets.
2013-07-03 21:31:13 -07:00
Johann Klähn
f2009bd724
fix property and slotted class python snippets
...
• `rwprop` did not work at all for me (messed up expansion)
and did not honor `ultisnips_python_quoting_style`.
• slotclass assigns to variables beginning with an underscore
in its init function and thus the slots have to begin
with an underscore too.
2013-07-03 21:21:48 +02:00
Holger Rapp
5a9233f56c
Merge pull request #87 from AntoineD/master
...
Add pudb python debugger snippet.
2013-07-02 21:42:47 -07:00
AntoineD
0689dc03b2
Add pudb python debugger snippet
2013-07-03 04:08:17 +02:00
Holger Rapp
e2ef47623e
Merge pull request #85 from pjfoley/hotfix/init_edge_case
...
Hotfix/init edge case for puppet snippets.
2013-06-30 05:56:22 -07:00
Holger Rapp
552122de58
Fixes bug 1191617. Improves testing.
...
Overtypes triggers, so that text objects are properly killed, also
changes test.py to pass python values using a temp file and :pyfile
instead of typing it out using << EOF.
2013-06-29 15:45:48 +02:00
Holger Rapp
5a3190e65c
Fixed b1191617.
2013-06-29 15:44:02 +02:00
Peter Foley
fe4f784720
Fixed edge case with multiple init directories
...
In the instance of calling the class snippet within a puppet file
located in
/home/pjfoley/puppet/modules/profile/manifests/server/init/init.pp
I would expect the return value to be "profile::server::init", it
currently returns "profile::server" which is missing a module path
layer.
2013-06-29 22:54:26 +10:00
Peter Foley
c5af015eb2
Merge branch 'hotfix/module_name' into hotfix/init_edge_case
...
Conflicts:
UltiSnips/puppet.snippets
2013-06-29 22:33:08 +10:00
Peter Foley
d2b3d690d1
Fixed edge case in function for base class name
...
In the instance of calling the class snippet within a puppet file
located in /home/pjfoley/puppet/modules/profile/manifests/init.pp
I would expect the return value to be "profile", it currently returns
"profile::"
The extra "::" is a bug and puppet compilation fails with the message
"Syntax error at ':'
2013-06-29 22:17:02 +10:00