174 Commits

Author SHA1 Message Date
Holger Rapp
9044a955ce TabStops and Mirror Tests now all pass again 2012-01-28 17:07:33 +01:00
Holger Rapp
994074d920 More mirror tests passing 2012-01-28 17:07:32 +01:00
Holger Rapp
f203e59147 More tricky Multiline Mirrors 2012-01-28 17:07:32 +01:00
Holger Rapp
9cc97cd7cb All enabled tests pass again 2012-01-28 17:07:18 +01:00
Holger Rapp
a47f6ab98a Need a new metrik for editing distance 2012-01-28 17:07:18 +01:00
Holger Rapp
5c476983d7 All enabled tests pass for the moment 2012-01-28 17:07:18 +01:00
Holger Rapp
b49d5482fa Mor fixes and refactorings 2012-01-28 17:07:18 +01:00
Holger Rapp
042c382b46 Worked a little further 2012-01-28 17:07:18 +01:00
Holger Rapp
3568275158 Intermediate Commit TabStop_Escaping tests pass 2012-01-28 17:06:23 +01:00
Holger Rapp
ac31677eff Simple Expands are working again 2012-01-28 17:06:23 +01:00
Holger Rapp
3a7674bca0 First hooks into vim. Very slow atm 2012-01-28 17:06:23 +01:00
Holger Rapp
f3d396b84e Reverting to using .vim and vimfiles.
_vim is not supported by vims documentation.

This reverts commit cd34039b02765dbe2dbf55d39bc9044e01746181.
2012-01-25 15:19:37 +01:00
Alejandro Exojo
97bad15c98 Also unset the 'a' flag in formatoptions. 2012-01-14 22:54:43 +01:00
Holger Rapp
3c8661d4bd Code cleanups and refactorings 2012-01-14 20:14:51 +01:00
Holger Rapp
9a7e7603f1 Reworked adding of Zero Tabstop if not explicitly defined. All test pass 2012-01-14 20:02:52 +01:00
Holger Rapp
0a554c57ca Intermediate commit: All but one test pass 2012-01-14 15:51:36 +01:00
Holger Rapp
cd34039b02 .dot is _vim under windows. Fixes bug 915048 2012-01-12 12:57:35 +01:00
Holger Rapp
32754e9d2e Fixed py3 problems with sunmap 2012-01-11 20:59:21 +01:00
Holger Rapp
0c63f205aa Added basic support for the token. No documentation yet, but 16 new tests 2012-01-11 19:17:13 +01:00
Holger Rapp
fc4e427774 Bug 908139: Fix sunmap problems with unprintable chars in lhs. This is only a workaround really 2012-01-11 14:23:13 +01:00
Holger Rapp
bc7bf73cf5 Fixed plenty of bugs in handling of unicode snippets 2012-01-10 19:56:09 +01:00
Holger Rapp
c1b60dc367 All tests pass now for python 2 and python 3 2012-01-10 18:11:34 +01:00
Holger Rapp
d72eb587f6 22/339 tests are failing 2012-01-10 18:11:02 +01:00
Holger Rapp
1653eb89ea UltiSnips loads in python3 now, but does not work so far 2012-01-10 14:16:25 +01:00
Holger Rapp
a08cd7bfbd Didn't handle ~ as homedir in search paths correctly 2012-01-05 17:00:25 +01:00
Holger Rapp
cebf11eda0 Better handling of unicode in snippet definitions and names 2011-12-26 08:44:13 +01: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
Rico Sta. Cruz
dcc286b856 Add the g:UltiSnipsDontReverseSearchPath option 2011-08-29 03:47:31 +08: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
b46461bc07 Sort snippets alphabetically before showing them in the list. Patch by Allait 2011-07-17 12:09:29 +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
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
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
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
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
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
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
0f50245882 Leave initial indent of line alone, only reindent snippet definition 2011-03-29 07:02:14 +02:00