Commit Graph

967 Commits

Author SHA1 Message Date
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
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
Daniel Hahler
5556432fd1 Minor doc fixes. 2011-03-07 17:53:11 +01:00
rygwdn@gmail.com
6c210e26fe fixes bug #720611 by keeping track of which filetypes have been tried. 2011-02-28 23:31:32 -04:00
rygwdn@gmail.com
53f3df59db added ability to skip tests depending on platform 2011-02-28 22:41:04 -04:00
rygwdn@gmail.com
45bad8667c try to ensure that the GVIM window is open before sending keys to it 2011-02-28 22:00:47 -04:00
rygwdn@gmail.com
da3f4077ee merged with trunk 2011-02-28 20:49:15 -04:00
Holger Rapp
07bfcb5f84 Fixed a typo in the documentation 2011-02-24 23:12:51 +01:00
Holger Rapp
e5591e2517 Dummy commit to overwrite old tags on launchpad 2011-02-21 09:34:12 +01:00
Holger Rapp
81be10835c Initialize output variable in tests, so that less timing errors occure. This makes testing more stable on my system 2011-02-20 23:15:04 +01:00
Holger Rapp
9eb0e5b810 Parsing ultisnips takes even longer 2011-02-20 21:22:37 +01:00
Holger Rapp
cee3b423fc Fix some 'No such mapping' warnings which led to random test failures on my system 2011-02-20 21:18:45 +01:00
Holger Rapp
37f28fe580 Sleep a bit after sourcing widelands in tests. Increases reliability on my system 2011-02-20 21:18:25 +01:00
Holger Rapp
a7ebbe37fc Merged my fixes for proper handling of autoformatting 2011-02-20 21:17:56 +01:00
Holger Rapp
57cf2790cb Refactored fix for better understandability 2011-02-20 21:16:56 +01:00
Holger Rapp
91520a2160 Refactored test cases 2011-02-20 20:58:43 +01:00
Holger Rapp
70ba6f0083 Added another test case that encloses the snippet 2011-02-20 20:54:16 +01:00
Holger Rapp
461e81d6a2 Added stricter test case that show the problem and implement fixes for them 2011-02-20 20:49:32 +01:00
rygwdn@gmail.com
e66d4adfda Added initial support for testing on windows.
Focuses a GVim window, which is assumed to be in the ultisnips directory,
then starts sending key presses to it. Please don't change the active
window while it's running!
2011-02-20 13:11:51 -04:00
Holger Rapp
b371f0c8c4 Updated syntax file by Timo Schmiade 2011-02-19 20:00:24 +01:00