Commit Graph

385 Commits

Author SHA1 Message Date
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
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
Holger Rapp
c3300e2385 Updated ChangeLog 2011-03-31 06:58:04 +02:00
Holger Rapp
1b782e1218 Compatibility changes for python 2.6, mainly for windows 2011-03-30 08:23:59 +02:00
Holger Rapp
86ae63635e Skip a bogus test on windows 2011-03-29 07:15:31 +02:00
Holger Rapp
0f50245882 Leave initial indent of line alone, only reindent snippet definition 2011-03-29 07:02:14 +02:00
Holger Rapp
a0a2b54f52 Catch errors and show them in a scratch buffer instead of posting useless lines in the statusbar 2011-03-28 23:02:58 +02:00
Holger Rapp
db82894c02 Added a testcase for verification of a question on launchpad 2011-03-28 20:54:30 +02:00
Holger Rapp
c408ae937e Fixed some lines in contributors 2011-03-28 20:27:54 +02:00
Holger Rapp
6324ff1435 Added a ftplugin file for .snippets file and set some sane defaults for folding 2011-03-27 08:09:12 +02:00
Holger Rapp
3563b7a57f Added improvements to the syntax file by Anthony Jackson 2011-03-27 08:07:44 +02:00
Holger Rapp
20742d3a6c Added a test case for bug 719649 2011-03-25 09:09:46 +01:00
Holger Rapp
7f7adc1b9e Removed some unicode symbols that confuse windows 2011-03-25 08:27:19 +01:00
Holger Rapp
09e4b7a708 We sent the keys for testing as unicode and expect vim to write the output as utf-8. 2011-03-25 08:21:48 +01:00
Holger Rapp
cacecfc9e2 Correct encoding of test.py 2011-03-25 07:45:22 +01:00
Holger Rapp
62231439f0 More windows test case fixing action 2011-03-25 07:36:55 +01:00
Holger Rapp
52c50db0e9 ork around for testing on windows. Some systems expect a second keystroke after ` and ´. 2011-03-24 08:49:33 +01:00
Holger Rapp
336e5caad3 Added some snippets for the mako template language 2011-03-24 08:43:07 +01:00
Holger Rapp
066b1d2bb4 Merged Ryans fixes to test on windows 2011-03-14 21:38:40 +01:00
Holger Rapp
b0ff9b6fa1 Added my snippet collection for Lua 2011-03-14 20:36:45 +01:00
Holger Rapp
f970651dfb Merged improvements for Textmate converter script by Daniel Hahler 2011-03-14 20:22:16 +01:00
Holger Rapp
8a09bdad98 Added Daniel Hahler to the contributors 2011-03-14 20:19:35 +01:00
Holger Rapp
093a27a5b1 Do not mess with clipboard while testing. Fix by Daniel Hahler (blueyed) 2011-03-14 20:18:58 +01:00
Holger Rapp
1f128556e0 Doc fixes by Daniel Hahler (blueyed) 2011-03-14 20:07:03 +01:00
Holger Rapp
00164824f1 Applied Ryans fix for bug 720611 2011-03-14 20:00:51 +01:00
Daniel Hahler
d47f28f4db Improve get_tm_snippets.py script:
- add support for importing from local directory via two
	  arguments: "dir/path" and "name"
	- add support for variable translation by fixed map
	- remove decode+encode from unescape(); this did not work with some
	  string from the php.tmbundle
	- handle ElementTree.ParseError
2011-03-07 23:53:21 +01:00