Commit Graph

559 Commits

Author SHA1 Message Date
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
Holger Rapp
dce54d04ac Django html snippets by Jan Mollowitz 2011-07-04 11:28:22 +02:00
Holger Rapp
a9735229a6 Minor documentation patch by Shlomi Fish 2011-06-28 22:50:47 +02:00
Holger Rapp
83de7a3e66 Fixed the problem that you could not switch windows/tabs while inside a snippet 2011-06-28 22:48:05 +02:00
Holger Rapp
402df7605c Fixed a bug which compared a vim.eval to an integer instead of a string. Patch by Sung Pae 2011-06-28 22:24:54 +02:00
Holger Rapp
c6af0d0c72 Regression fix for listing snippets by Charles Gunawan 2011-06-28 22:22:41 +02:00
Holger Rapp
cc68d27d93 Added real name of allait 2011-05-11 09:12:56 +02:00
Holger Rapp
70b7affe45 Merged Ryan and allaits fixes for various bugs 2011-05-09 07:58:33 +02:00
rygwdn@gmail.com
4e145d7f79 Added tests and a fix for bug #774923. 2011-05-02 16:20:36 -03:00
rygwdn@gmail.com
cd375f976c Added fix for bug #774917. 2011-05-02 14:56:27 -03:00
rygwdn@gmail.com
e566419c91 added tests for Bug #774917 2011-05-02 14:36:00 -03:00
rygwdn@gmail.com
5d208cb7be return snippets in original order 2011-05-02 14:28:10 -03:00
rygwdn@gmail.com
a2ee197c1f added proper quoting taken from rope-omni plugin 2011-05-02 14:27:41 -03:00
rygwdn@gmail.com
5facee70f8 applied patch from allait. fixes bug #774911.
only overwrites snippets with the same trigger when overwrite_previous is set.
2011-05-02 13:33:50 -03:00
Holger Rapp
9e712a9a39 Removed UltiSnipsReset. It is no longer needed 2011-04-28 08:27:09 +02:00
Holger Rapp
8c249b79c8 Merged ryans implementation of automatic reloading of changed snippet files. Replaced crc32 through hashlib.sha1 because it is always available since python 2.5, more reliable and has the same runtime up to an order of magnitude 2011-04-28 08:23:01 +02:00
Holger Rapp
c65e73269c Merged ryans fixes for UltiSnipsEdit command without any change 2011-04-28 08:00:56 +02:00
Holger Rapp
47a6270e84 Small fix in lorem ipsum 2011-04-28 07:49:22 +02:00
rygwdn@gmail.com
6b86dcae2b added fallback for crc and ability to disable hashing on entry.
also disabled hashing in parsing tests to avoid having the test files
overwritten in the process.
2011-04-27 23:41:30 -03:00
rygwdn@gmail.com
7d5e92743a track manually added snippets differently 2011-04-27 23:13:26 -03:00
rygwdn@gmail.com
db9e0b20a7 implemented idea from bug #720326.
uses an MD5 hash to determine if any .snippets files have been updated
2011-04-27 22:22:34 -03:00
rygwdn@gmail.com
424b817338 look through filetypes in the right order 2011-04-27 16:09:33 -03:00
rygwdn@gmail.com
fe896cffb3 fixed return for method - tests all pass now 2011-04-27 15:58:42 -03:00
rygwdn@gmail.com
b54300a82e added documentation for new search 2011-04-27 15:51:04 -03:00
rygwdn@gmail.com
ce6efdd95c added in-code documentation 2011-04-27 15:37:12 -03:00
rygwdn@gmail.com
ad84c346d0 - extracted and cleaned up searching for snippets files
- cleaned up UltiSnipsEdit by rewriting in python reusing existing code
2011-04-27 15:26:12 -03:00
rygwdn@gmail.com
dbeecdbe24 use consistent spacing in vim file 2011-04-27 12:37:07 -03:00
Holger Rapp
a63c3f9a18 Improvements to UltiSnipsEdit command by jmcantrell which partially fixes bug 748433 2011-04-09 17:58:30 +02:00
Holger Rapp
eeb8dc4831 Disable vims auto-wrapping inside snippets
- Disable autowrapping inside of snippets
- renable it when the snippet has been completely handled
- added snippet option 'f' to avoid disabling text wrapping
- added docs and tests
2011-04-09 17:48:14 +02:00
Holger Rapp
a790674b45 Fixed a small thin in the mako snippets 2011-04-09 16:30:41 +02:00
Holger Rapp
cdb4558f79 First tryouts.. Nothing working so far and all is horrible ugly 2011-04-01 21:03:25 +02:00
Holger Rapp
4fe0cd4da3 Added a failing test that can not be corrected with our current parser 2011-04-01 20:12:15 +02:00
Holger Rapp
2def1b4ce1 Escaping of \ didn't work 2011-04-01 16:50:49 +02:00
Holger Rapp
52438051be Added a section about character escaping to the docs 2011-03-31 08:01:32 +02:00
Holger Rapp
8513aa48d8 Added a new variable for snippet directory names. UltiSnips directories can be excluded to not make the shipped plugins available 2011-03-31 07:40:56 +02:00