Commit Graph

1008 Commits

Author SHA1 Message Date
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
Peter Foley
5263affdde 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 16:54:05 +10:00
Holger Rapp
bd18cd76d7 Merge pull request #82 from pjfoley/feature/function_snippets
Added Puppet Function Snippets
2013-06-28 05:32:09 -07:00
Holger Rapp
a12146a9c6 Merge pull request #81 from pjfoley/feature/puppet_rearrange
Cosmetic changes to puppet.snippets file to make things easier to find
2013-06-23 21:10:18 -07:00
Peter Foley
86b126f8c1 Merge remote-tracking branch 'upstream/master' into feature/function_snippets
Conflicts:
	UltiSnips/puppet.snippets
2013-06-24 02:11:41 +10:00
Peter Foley
78b53f9d6c Removed empty lines in the section block comments 2013-06-23 19:53:09 +10:00
Peter Foley
e2eb0a02bc Added puppet function snippets 2013-06-23 17:37:43 +10:00
Peter Foley
0a3c7288ad Re-arranged Types section so it is alphabetized 2013-06-23 16:03:30 +10:00
Peter Foley
086e367196 Re-arranged Lanugage section so it is alphabetized 2013-06-23 16:00:15 +10:00
Peter Foley
853eed2242 Removed superfluous line in the snippet 2013-06-23 15:58:53 +10:00
Peter Foley
fa1bcda166 Comment blocks with link to Puppet doco 2013-06-23 15:33:39 +10:00
Holger Rapp
b03bb13423 TestCase for b1191617 and slightly more stable way to execute python in test cases. 2013-06-21 22:12:39 +02:00
Holger Rapp
3b2eb436b7 Buffer local overwrite for snippet directory. Patch by jszakmeister. 2013-06-19 08:00:52 +02:00
Holger Rapp
291a0804a7 Merge pull request #71 from lazerscience/master
Adding ipdb snippet
2013-06-18 13:36:18 -07:00
Holger Rapp
cfc0260817 Merge pull request #75 from ravl1084/testing
Add snippet for ledger and BibLaTeX
2013-06-18 13:35:27 -07:00
Holger Rapp
313d63c5b1 Merge pull request #80 from pjfoley/patch-1
Missing Curly Brace in Puppet Snippet File
2013-06-18 13:34:10 -07:00
pjfoley
58628e2d29 Updated to also correctly specify the user type 2013-06-17 19:36:05 +10:00
pjfoley
26d784d36c Missing closing curly brace 2013-06-17 19:31:13 +10:00
Holger Rapp
38de6a8821 do not expand tabs in snippet files. 2013-06-10 18:34:38 +02:00
Holger Rapp
5d6f72949d Added UltiSnips_SnippetsInCurrentScope(). Patch by Jorge (skeept) 2013-06-10 18:27:48 +02:00
Rene Vergara
2a1a32031d Corrects formatting of snippets
Signed-off-by: Rene Vergara <rene.a.vergara@gmail.com>
2013-05-26 15:48:58 -05:00
Holger Rapp
b272949b51 Improvements to the puppet snippets by Nikola Petrov. 2013-05-17 06:57:22 +02:00
Holger Rapp
064dfac638 Fold markers snippets in all.snippets. Patch by Von Welch. 2013-05-17 06:43:46 +02:00
Rene Vergara
91bc8d43e2 Add snippet for ledger
Signed-off-by: Rene Vergara <rene.a.vergara@gmail.com>
Add a snippet to enter a transaction into a ledger file to be
used with the ledger accounting tool.

Recommend to use the vim-ledger plugin for filetype detection.
2013-04-28 11:03:36 -05:00
Rene Vergara
ed78c4db70 Add BibLaTeX snippets and parenthesis snippet
Signed-off-by: Rene Vergara <rene.a.vergara@gmail.com>
Add a snippet for BibLaTeX for book, inbook, online and article.

Add a snippet for LaTeX to enter a parenthesis pair.
2013-04-28 11:01:16 -05:00
Holger Rapp
015c78cba2 ipdb snippet. 2013-04-24 07:05:16 +02:00
Rene Vergara
2c11008df9 Merge branch 'master' into testing 2013-04-23 20:10:20 -05:00