Holger Rapp
03942a16a5
__repr__ has no second argument
2012-01-26 11:23:02 +01:00
Holger Rapp
91ecf6aec4
Fix error in def snippet when inside of a class
2012-01-25 08:14:54 +01:00
Holger Rapp
11c69a853f
Make box and bigbox snippet aware of &comments setting
2012-01-23 17:22:22 +01:00
Holger Rapp
ea14690099
Fixed: Empty args string in python's def snippet
2012-01-20 22:31:18 +01:00
Holger Rapp
9e6ab34856
Make some texmath snippets word boundary expandable
2012-01-14 15:51:11 +01:00
Holger Rapp
4309940444
Added a globals snippet for snippets files
2011-12-31 15:06:48 +01:00
Holger Rapp
3094d79e61
Updated ruby snippets by Aldis Berjoza
2011-11-16 21:47:23 +01:00
Holger Rapp
2c6d5bd070
New ruby snippets by Aldis Berjoza
2011-11-15 10:28:50 +01:00
Holger Rapp
e82514221a
New rails snippet by Aldis Berjoza (graudeejs)
2011-11-11 10:32:11 +01:00
Holger Rapp
5f04f3e0cf
New Ruby on Rails translation snippet by graudeejs (graudeejs)
2011-10-20 09:20:32 +02:00
Holger Rapp
ee000f5a41
Added an xhtml snippets file which only extends html but defines no new snippets
2011-09-23 18:07:02 +02:00
Miek Gieben
34d7648265
Added a snippet files for Go (www.golang.org) and
...
Puppet (www.puppetlabs.com)
2011-09-21 16:31:09 +02:00
Holger Rapp
bcfb52b00a
removed non ascii char from one snippet name. Patch by Thanatermesis
2011-08-18 15:06:35 +02:00
Holger Rapp
84e70f5129
New Python snippets by Georgi Valkov
2011-08-02 11:22:54 +02:00
Holger Rapp
24025a78a7
Jinja2 snippets by Georgi Valkov
2011-08-02 11:09:03 +02:00
Holger Rapp
795d38ba0e
Removed some random spaces from python snippets, added self if a function is indended
2011-08-02 11:02:05 +02:00
Holger Rapp
b5ed08343f
Split tex snippets into math and other because some filetypes only use math mode (i.e. rst)
2011-08-02 11:01:19 +02:00
Georgi Valkov
9a44d6dfda
pyunit testcase snippet
2011-08-02 01:42:05 +03:00
Georgi Valkov
c188127073
Add 'special' method snippets
...
numeric -> methods for emulating a numeric type
repr -> methods implementing string representation
cmp -> methods implementing rich comparison
desc -> methods implementing descriptors
attr -> methods for customizing attribute access
context -> context manager methods
contain -> methods for emulating a container type
2011-08-02 01:41:26 +03:00
Georgi Valkov
aa3bce2a43
Add 'class with slots' snippet
2011-08-02 01:41:08 +03:00
Georgi Valkov
57b1273475
Refactoring common class/def snippet code
...
* Common snippet code was broken down into separate functions.
* Simplified logic flow at certain points (at the expense of more
function calls).
* Int instead of string comparison when choosing a docstring style.
* Do not up-call object.__init__(self).
* Add newline between parent constructor calls and auto-arg list.
2011-08-02 01:39:23 +03:00
Georgi Valkov
e82133bdce
A fairly comprehensive Jinja2 snippets collection
2011-08-02 01:26:51 +03:00
Holger Rapp
6c855d1280
Removed some non ascii chars from tex descriptions
2011-07-27 14:10:27 +02:00
Holger Rapp
0711c6b75a
Only expand r on word boundaried, not also in words
2011-07-27 12:29:12 +02:00
Holger Rapp
1cbd26de76
Added php snippets
2011-07-17 12:37:49 +02:00
Holger Rapp
07b3c797c6
Some ammendements to html.snippets by Jan Mollowitz
2011-07-05 09:54:21 +02:00
Holger Rapp
dce54d04ac
Django html snippets by Jan Mollowitz
2011-07-04 11:28:22 +02:00
Holger Rapp
47a6270e84
Small fix in lorem ipsum
2011-04-28 07:49:22 +02:00
Holger Rapp
a790674b45
Fixed a small thin in the mako snippets
2011-04-09 16:30:41 +02:00
Holger Rapp
336e5caad3
Added some snippets for the mako template language
2011-03-24 08:43:07 +01:00
Holger Rapp
b0ff9b6fa1
Added my snippet collection for Lua
2011-03-14 20:36:45 +01:00
Holger Rapp
c8fe2f4b02
Added a syntax file by Timo Schmiade. Made sure all shipped files are recognized as snippets, even when ftdetect is not in /Users/sirver
2011-02-17 14:07:27 +01:00
Holger Rapp
e730eeff0e
Added a small notice about contribution to the README
2011-02-17 13:59:40 +01:00
g0rdin
ad3a3d7242
tweaked receive snippet for erlang
2011-01-10 02:07:59 +01:00
g0rdin
06b6aeba34
Added useful snippets to erlang snippets
2011-01-08 23:20:07 +01:00
g0rdin
89522d1ad2
Added snippets for erlang (grabbed from TextMate bundles)
2011-01-08 22:25:28 +01:00
Holger Rapp
3310ccb41d
Added eruby and rails snippets from Ches Martin
2010-12-06 14:27:33 +01:00
rygwdn@gmail.com
c20c76be71
Fixes bug #676998 .
...
- Adds a new module for handling indentation to bring everything together.
- Uses shiftwidth to replace initial tabs in snippets, this is closer to
what you would get if you were to type the snippet out by hand.
- Replaces code in SnippetUtil with common class.
- Replaces the code in launch() with the common class to properly, and
consistently indent the lines.
- Changes the tests to use shiftwidth instead of tabstop as per the bug.
- Fixes the indentation in python snippets to use tabs instead of spaces.
2010-11-18 12:58:15 -04:00
rygwdn@gmail.com
2fe73f0926
add ability to have newlines before braces in java snippets
2010-11-16 17:01:39 -04:00
rygwdn@gmail.com
65a282c58d
fix whitespace in c/cpp snippets
2010-11-16 17:00:51 -04:00
Holger Rapp
16d6335ab1
Small correction for ref snippet in tex
2010-11-13 00:07:03 +01:00
Holger Rapp
54a2350646
Added a codeblock snippet
2010-09-11 14:29:55 +02:00
Holger Rapp
c74e8b0612
Added a nice begin/end snippet. Triggered with b or begin
2010-09-03 17:04:46 +02:00
Holger Rapp
782836636d
Fixed a bug in the c snippets that came from the new multiword triggers
2010-08-18 13:02:03 +02:00
rygwdn@gmail.com
514d9d1bd7
updated some snippets to use new global and locals features.
2010-08-17 00:58:44 -03:00
Holger Rapp
3d0de8b22d
Updated README. All snippets are now cleaned up
2010-08-15 14:36:17 +02:00
Holger Rapp
a2e07d15e1
Cleaned up JavaScript snippets
2010-08-15 14:35:14 +02:00
Holger Rapp
26abb41bfa
Removed Ruby snippets. I do not know enough of this language to clean those snippets up. Please contribute some.
2010-08-15 14:23:46 +02:00
Holger Rapp
a6c0cdef7f
Cleaned up objective C snippets
2010-08-15 14:22:49 +02:00
Holger Rapp
6bcbc40d5d
Cleaned CSS snippets up.
2010-08-15 13:53:05 +02:00