Commit Graph

443 Commits

Author SHA1 Message Date
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
aae12ec39c Updated ChangeLog 2011-09-24 22:55:55 +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
Holger Rapp
4e30504862 Merged puppet and go snippets by Miek Gieben 2011-09-22 09:41:31 +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
499ac4f4bc Fixed bug with mirrors of tabstops-in-tabstops 2011-09-12 09:08:25 +02:00
Holger Rapp
4c6a614dd3 Fix a off-by-one error in selecting 0-length tabstop. Only surfaces with recent vim versions 2011-09-01 18:03:06 +02:00
Holger Rapp
f21386e75d Forgot to add Rico to the contributors list 2011-08-29 13:14:14 +02:00
Holger Rapp
e848b2b3c0 Merged runtimepath patch by Rico Cruz 2011-08-29 13:12:24 +02:00
Rico Sta. Cruz
dcc286b856 Add the g:UltiSnipsDontReverseSearchPath option 2011-08-29 03:47:31 +08: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
ecd2671541 Corrected usage of anonymous snippets 2011-07-27 12:29:55 +02:00
Holger Rapp
f29c3ac63a Added two more tests I wrote while searching a bug that wasn't even there 2011-07-27 12:29:42 +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
6975711477 Added a small hint to the Documentation how to use Anonymous snippets for fun and profit 2011-07-26 16:21:57 +02:00
Holger Rapp
72ed530746 Anonymous triggers with empty trigger string where not expanded after whitespaces. 2011-07-26 16:21:39 +02:00
Holger Rapp
b774ce8f11 Merged my new parser implementation that can handle irregular cases and is generally more flexible. 2011-07-24 19:32:48 +02:00
Holger Rapp
f7c12f9d55 Fixed all remaining TODOs 2011-07-24 19:16:49 +02:00
Holger Rapp
7f12de5cd9 More cleanup 2011-07-24 18:46:35 +02:00
Holger Rapp
9608346e77 TextObjects now accept a single token as initializer 2011-07-24 18:29:31 +02:00
Holger Rapp
ad0059bc2d Some refactoring 2011-07-24 17:30:29 +02:00
Holger Rapp
ac619f0bd2 All tests pass again. Only beautifying still to do 2011-07-24 17:01:03 +02:00
Holger Rapp
c5245ae69a Implemted ShellCode again 2011-07-24 13:19:11 +02:00
Holger Rapp
6c1a82c04d Implemented Transformation parsing 2011-07-24 13:10:57 +02:00
Holger Rapp
ef10362469 Fixed escaped chars handling 2011-07-24 11:42:29 +02:00
Holger Rapp
b91e97fa5d Homing in on a design 2011-07-24 09:31:25 +02:00
Holger Rapp
4307612aa8 New stateful parser. Still flawed design and not flexible enough, but a beginning 2011-07-23 23:40:01 +02:00
Holger Rapp
6257b2bb6b Updated ChangeLog. Tagged 1.4 2011-07-17 13:10:57 +02:00
Holger Rapp
3508ee2e51 Fixed some test cases that got wrong because of the new sorting of the snippet list 2011-07-17 13:10:36 +02:00
Holger Rapp
1cbd26de76 Added php snippets 2011-07-17 12:37:49 +02:00
Holger Rapp
2ac5fd419b New conversion script for snipmate snippet files. Work by Phillip Berndt, only whitespace corrections by me 2011-07-17 12:17:23 +02:00
Holger Rapp
b46461bc07 Sort snippets alphabetically before showing them in the list. Patch by Allait 2011-07-17 12:09:29 +02:00
Phillip Berndt
8276ec9b94 Use argparse in the snipmate conversion script, renamed that script to convert_snipmate_snippets, removed the snipmate compatibility code from UltiSnips.vim and placed it into it's own file, fixed a bug where the user's value of g:snips_author was overwritten 2011-07-14 12:24:14 +02:00
Phillip Berndt
d08b58cf39 Some of snipmates snippets also require one to have g:snips_author defined 2011-07-13 14:23:21 +02:00
Phillip Berndt
281781fcee Added snipmate's Filename() helper to UltiSnips.vim 2011-07-13 14:19:17 +02:00
Phillip Berndt
2060e06e7c Added a script for automated snipmate → UltiSnips snippet conversion 2011-07-13 14:07:44 +02:00
Holger Rapp
07b3c797c6 Some ammendements to html.snippets by Jan Mollowitz 2011-07-05 09:54:21 +02:00