Commit Graph

100 Commits

Author SHA1 Message Date
Holger Rapp
3cf98270de Implemented listing of current snippets following the suggestion of jceb. This patch took another route than his suggestion, but should be functional equivalent 2009-08-16 20:55:08 +02:00
Holger Rapp
de9e35b8f7 Fixed stupid bug introduced in last revision 2009-08-16 18:50:14 +02:00
Holger Rapp
cd0b859b62 Implemented i option (inword snippet expansion) along the line of the patch by jceb, also added his test cases 2009-08-16 16:34:54 +02:00
Holger Rapp
f4515daeee Fixed bug 411010 2009-08-09 15:00:20 +02:00
Holger Rapp
5eaed114db Fixed 407144. Also added test cases for it 2009-08-02 10:35:23 +02:00
Holger Rapp
fdb6622073 Fixed test case for expandtab. Expected functionality has changed in the last commit 2009-07-30 19:52:42 +02:00
Holger Rapp
8fb1412791 - fixed a bug related to indentexpr. vim just has too many options
- expandtab and ts options are now taken into consideration when expanding tabs
2009-07-29 09:49:44 +02:00
Holger Rapp
274ef83833 Fixed bug #405502. Also added a test case for it 2009-07-28 08:04:53 +02:00
Holger Rapp
5ee8b842eb Fixed some bugs related to char escaping in snippet definitions. fixes #401687 2009-07-22 12:08:21 +02:00
Holger Rapp
d0a50ae9d2 Made trigger keys configurable. Added support for setting forward jump and expand to the same key 2009-07-21 10:21:05 +02:00
Holger Rapp
c3dff61ef1 Fixed a small bug with string escaping in transformations. Went over the c snippets from TextMate, reworked them to work without any shell code (for compatibility sake) 2009-07-19 17:12:57 +02:00
Holger Rapp
47a7948526 Conditional replaces can now be nested 2009-07-19 16:44:29 +02:00
Holger Rapp
0943961479 Added support for b option. Some snippets can be defined to only be valid at the beginning of the line 2009-07-18 00:51:19 +02:00
Holger Rapp
c1494c6d83 A small refactoring 2009-07-18 00:14:20 +02:00
Holger Rapp
5d2a39a0c5 Fixed a inconsequent handling of indent: indent was different for recursive snippets then for the othermost snippet 2009-07-17 23:42:33 +02:00
Holger Rapp
93b3cc7126 Added support for overwriting of previous snippet definitions 2009-07-17 23:33:48 +02:00
Holger Rapp
e9c1dd597a All done. Ready for intial release I guess 2009-07-16 18:08:32 +02:00
Holger Rapp
3e25a15469 Fixed the annoying bug 2009-07-16 17:49:35 +02:00
Holger Rapp
3f760eaebf Only one critical known bug remaining in recursive expansion 2009-07-16 17:34:36 +02:00
Holger Rapp
118045a24a Added more test cases for recursive tabstops, fixed some bugs that occured 2009-07-16 17:00:25 +02:00
Holger Rapp
8e46b5ba11 Beginning of recursive snippet expansion. This still has more bugs than a dog has fleas 2009-07-16 14:10:59 +02:00
Holger Rapp
b15199bab1 Removed and reordered some TODOs 2009-07-16 10:21:32 +02:00
Holger Rapp
318b2726ae Fixed bug 400105 and 400114 2009-07-16 10:16:30 +02:00
Holger Rapp
f60417cdee Slowed another test down, added a TODO for a bug that I ran into 2009-07-15 23:16:57 +02:00
Holger Rapp
7a34de5613 Added box snippets for python. Added a test case for completion inside of snippets 2009-07-15 18:16:42 +02:00
Holger Rapp
717ae7586c Fixed a stupid bug where == and bzr commit -m "Fixed a stupid bug where == and boxes -d shell= were used. Instead it should have been is and is not"= were used. Instead it should have been is and is not 2009-07-15 17:40:24 +02:00
Holger Rapp
001bb70975 Added support for vimscript interpolation 2009-07-15 16:28:33 +02:00
Holger Rapp
79d342ddb4 Added support for interpolated python code 2009-07-13 11:36:13 +02:00
Holger Rapp
93121595c9 Added a missing newline 2009-07-12 17:34:10 +02:00
Holger Rapp
53f464e3a0 Fixed a bug with indenting in snippets. Autoindent is now supported 2009-07-12 17:23:39 +02:00
Holger Rapp
ba6e0662b5 Added the possibility to backspace over newlines in tabstops 2009-07-10 18:34:46 +02:00
Holger Rapp
49aa031a95 Sleep after each char send through screen which makes testing even slower but more reliable 2009-07-10 13:26:52 +02:00
Holger Rapp
86e7b3a1b5 The project now has a name: UltiSnips 2009-07-10 12:47:54 +02:00
Holger Rapp
3bcbdac872 - Fixed a bug in parsing of definition files
- implemented shell code interpolation
- implemented multiline tabstop selection (needed for shell code interpolation)
2009-07-10 12:06:58 +02:00
Holger Rapp
fa513f7619 Removed a TODO that was handled 2009-07-10 09:37:53 +02:00
Holger Rapp
982e32712f Removed a TODO reminder that was fixed 2009-07-10 09:36:04 +02:00
Holger Rapp
8d9c04c675 Fixed a corner case in jumping: When a TS was selected and the next one was jumped too and was a TS with zero lenght, the cursor moved one too far 2009-07-10 09:35:21 +02:00
Holger Rapp
ade790cc60 Nearly fixed all bugs with Tab in DefText 2009-07-10 08:46:49 +02:00
Holger Rapp
447b800f70 Some bugs remain with tabstops in default text 2009-07-09 17:49:59 +02:00
Holger Rapp
307d822ffa Halfway through with tabstop in default text 2009-07-09 17:04:57 +02:00
Holger Rapp
ccfa5d7a73 Expand is now <tab>, forward is <c-j> and backwards is <c-k> 2009-07-09 15:30:23 +02:00
Holger Rapp
3b921ca515 Fixed a bug that prevented newlines in the first column in snippets 2009-07-09 10:43:45 +02:00
Holger Rapp
130706b915 TextObjects.py no longer needs the vim module. Now the VimBuffer also needs removing 2009-07-09 10:20:25 +02:00
Holger Rapp
d3ab4730f9 There is now always only one active snippet, if another is launched, the current one gains an child 2009-07-08 20:08:32 +02:00
Holger Rapp
2d6c5d8a76 Refactored the code in different files. This makes Stuff a bit more Readable 2009-07-07 22:28:09 +02:00
Holger Rapp
5dba8710f7 Added tests for tabstops in tabstops 2009-07-07 10:27:05 +02:00
Holger Rapp
9adaccabf1 Added a very basic fetching utility that fetches TextMate Bundle Snippets from the TextMate site and writes out a file that is compatible with us. Also added a new critical feature/bug that needs fixing: Tabstops in Default Text of Tabstops 2009-07-07 09:41:09 +02:00
Holger Rapp
3ac62a0315 The next important todos 2009-07-06 23:29:17 +02:00
Holger Rapp
09e50acae1 Added the one hundreds test with many tabstops and many mirrors 2009-07-06 23:26:01 +02:00
Holger Rapp
ddd4a574f4 Added support for transformations in default text of tabstops 2009-07-06 21:45:30 +02:00