Israel Chauca Fuentes
81de76fe52
Update help.
2015-05-17 19:42:50 -04:00
Israel Chauca Fuentes
5945fdfd14
Consider more characters in smart_matchpairs default value.
2015-05-17 19:34:11 -04:00
Israel Chauca Fuentes
9a77c3aee6
Merge branch 'RGBD-fix-maparg-typo'
2015-05-01 22:35:56 -04:00
Israel Chauca Fuentes
c78a6e6d93
Allow using commas and colons in matchpairs. Fix #208 .
2015-02-12 09:09:48 -05:00
Israel Chauca Fuentes
470c053a3b
Better handling of insert_eol_marker. Should fix #195 .
2015-01-17 14:03:48 -05:00
Israel Chauca Fuentes
254a89d67c
Call s:setup() directly in the plugin. Should fix #202 .
...
- Move 'call s:setup()' out of the autocmd.
- Add a test for the first buffer without filetype set.
2015-01-15 11:21:09 -05:00
Israel Chauca Fuentes
e7b4dedb84
Add option delimitMate_insert_eol_marker. Closes #195 .
2015-01-08 17:14:27 -05:00
Israel Chauca Fuentes
21a3ade90c
Use s:get() and s:set() instead of the abbreviated forms.
2015-01-06 08:50:17 -05:00
Israel Chauca Fuentes
8e30e70bcd
Refactor reporting code.
2015-01-05 02:16:09 -05:00
Israel Chauca Fuentes
ac792c01b6
Indent with spaces.
2015-01-04 20:25:50 -05:00
Israel Chauca Fuentes
c23ef684e3
Add :DelimitMateOn, :DelimitMateOff & remove s:DelimitMateSwitch().
2015-01-04 20:13:11 -05:00
Israel Chauca Fuentes
b63924f2b2
Update doc.
2015-01-04 20:09:00 -05:00
Israel Chauca Fuentes
13e52d42ae
Do not consider quotes for smart_matchpairs. Closes #200 .
2015-01-02 12:08:16 -05:00
Israel Chauca Fuentes
aa9d737763
Rename functions.
2015-01-02 12:07:31 -05:00
Israel Chauca Fuentes
fe9022433d
Use :unlet only when necessary.
2015-01-01 09:41:32 -05:00
Israel Chauca Fuentes
6f7e6413ce
Fix doco.
2014-12-30 21:02:44 -05:00
Israel Chauca Fuentes
0049b07a1c
Fix Makefile and gitignore.
2014-12-03 17:06:37 -05:00
Israel Chauca Fuentes
fe1983cfa1
Consider ´quotes in smart_quotes`. Close #182 .
...
[:punct:] does not always match the same set of characters.
2014-12-02 11:07:22 -05:00
Israel Chauca Fuentes
a4ac44a84f
Add test plugins to the &rtp if they are present.
2014-12-01 00:23:37 -05:00
Israel Chauca Fuentes
4c13ed6aee
Make s:g() return default optional values. Close #186 .
2014-11-30 11:40:19 -05:00
Israel Chauca Fuentes
eafd832c04
Fix indentation in test.
2014-11-29 16:08:43 -05:00
Israel Chauca Fuentes
e13872fdb2
Fix indentation in test.
2014-11-29 16:08:00 -05:00
Israel Chauca Fuentes
0f353bd2b3
Add test for smartindent and expand_cr.
2014-11-28 12:11:28 -05:00
Israel Chauca Fuentes
073957f0a1
Add expand_inside_quotes to report and fix doc. Closes #179 .
2014-11-27 02:11:12 -05:00
Israel Chauca Fuentes
c678061b79
Fix '<CR><BS>. Closes #178 .
2014-11-27 01:48:34 -05:00
Israel Chauca Fuentes
12c7d85ff6
Add a basic vimrc to help with tests.
2014-11-26 19:24:38 -05:00
Israel Chauca Fuentes
66834e7209
Allow custom regex for smart_quotes. Close #164 .
...
- Use search() to match on the current line and remove most of the old
code in IsSmartQuote().
- Allow using ! to negate the pattern.
- Add tests.
- s:s() :unlet variables before setting them.
2014-11-26 15:03:00 -05:00
Israel Chauca Fuentes
07d9fa9ddc
Check delimitMate_matchpairs’ syntax. Also some formatting.
2014-01-04 18:14:03 -05:00
Israel Chauca Fuentes
54853a954c
Consider | for matchpairs. Also some minor formatting. Fix #155 .
2014-01-04 16:43:45 -05:00
Israel Chauca Fuentes
f00f6b6cf2
Simplify TriggerAbb().
2013-12-25 02:28:46 -05:00
Israel Chauca Fuentes
d280d23a83
Do not try to expand iabbreviations when popup menu on. Should fix #154 .
2013-12-25 02:09:41 -05:00
Israel Chauca Fuentes
821e0019fb
Consider popup menu when expanding. Close #154 .
2013-12-24 13:20:39 -05:00
Israel Chauca Fuentes
5ef40e0234
Do not expand cr and space inside quotes by default. Close #153 .
...
- Add delimitMate_expand_inside_quotes.
- Add tests.
2013-12-24 02:48:35 -05:00
Israel Chauca Fuentes
0528bdac15
Only try to expand abbreviations when supported. Close #151 .
2013-12-20 18:21:34 -05:00
Israel Chauca Fuentes
5db098e953
Better testing for quotes.
2013-12-19 00:26:58 -05:00
Israel Chauca Fuentes
b45536fe8d
Fix expanding abbreviations. Close #145 .
2013-12-18 23:55:02 -05:00
Israel Chauca Fuentes
3dde5cc8cb
Do not use <C-R>= for matchpairs. Close #150 , close #143 .
2013-12-18 23:05:30 -05:00
Israel Chauca Fuentes
5787ec4f59
Add explanation about delimitMate_jump_expansion. Close #137 .
2013-12-18 12:52:57 -05:00
Israel Chauca Fuentes
543be33b13
Better handling of nested quotes. Closes #134 .
2013-07-22 20:52:05 -04:00
Israel Chauca Fuentes
7345bfddef
Update readme.
2013-07-22 13:35:59 -04:00
Israel Chauca Fuentes
16a35eefab
Update version and doc.
2013-07-22 13:29:36 -04:00
Israel Chauca Fuentes
74ab16ea5b
Rewrite makefile.
2013-07-22 13:28:52 -04:00
Israel Chauca Fuentes
2adbf5a8d7
Remove old test script.
2013-07-14 03:34:20 -04:00
Israel Chauca Fuentes
e4a02eb998
Do not modify the line when checking for syntax groups.
2013-07-14 01:31:30 -04:00
Israel Chauca Fuentes
ad11ab2210
Fix tests.
2013-07-14 01:30:05 -04:00
Israel Chauca Fuentes
6b0d448f6a
Don't use a char buffer anymore.
2013-07-14 01:29:53 -04:00
Israel Chauca Fuentes
32c9db8f37
Simplify command.
2013-07-13 23:01:02 -04:00
Israel Chauca Fuentes
a77423a46f
Remove superfluous unmapping.
2013-07-13 22:59:58 -04:00
Israel Chauca Fuentes
57fd02b2e0
Fix tests.
2013-07-13 22:58:42 -04:00
Israel Chauca Fuentes
14faba1c62
Don't use setline() for left-side matchpair.
2013-07-13 21:57:21 -04:00
Israel Chauca Fuentes
8ab087c95c
Don't use setline() with quotes.
2013-07-13 21:27:38 -04:00
Israel Chauca Fuentes
61d62e8920
small fix.
2013-07-13 19:54:23 -04:00
Israel Chauca Fuentes
7ce61655a7
Do not remove caracters when inserting a closing paren. Close #133 .
2013-07-09 14:10:28 -04:00
Israel Chauca Fuentes
8d133d4726
Set bs to 2 on tests.
2013-06-27 21:51:28 -04:00
Israel Chauca Fuentes
7caa6092b7
Fix <S-Tab> mapping. Close #132 .
2013-06-27 21:35:37 -04:00
Israel Chauca Fuentes
d98d8c0a0d
Fix :DelimitMateTest.
2013-06-27 20:59:04 -04:00
Israel Chauca Fuentes
e2d63e38f6
Store internal values in s:options. Close #79 .
2013-06-22 00:20:45 -04:00
Israel Chauca Fuentes
579e3520a4
Use setter/getter everywhere (well, almost everywhere).
2013-06-21 23:49:48 -04:00
Israel Chauca Fuentes
90d07a68be
Update options list.
2013-06-21 22:42:41 -04:00
Israel Chauca Fuentes
2cb3f4d5e6
Use getter func.
2013-06-21 22:42:15 -04:00
Israel Chauca Fuentes
3a23e89cb5
Jump out of space expansion. Never meant to disable it. Closes #129 .
2013-06-21 21:49:07 -04:00
Israel Chauca Fuentes
70e1ac1462
Smart quotes consider balanced quotes on current line. Closes #94 .
2013-06-19 00:43:42 -04:00
Israel Chauca Fuentes
d4ba528935
Add eol marker finished. Closes #102 . Add s:g().
2013-06-19 00:06:10 -04:00
Israel Chauca Fuentes
8a8aad183f
Fix tests, BS in expansions and close #105 .
2013-06-18 18:52:26 -04:00
Israel Chauca Fuentes
cfc6654855
Make jumping over space and CR expansions optional and off by default.
...
- Closes #130 .
- Closes #110 .
- As suggested in #95 .
2013-06-18 16:02:48 -04:00
Israel Chauca Fuentes
765bdd80dc
Fix typo.
2013-04-10 11:04:15 -04:00
Israel Chauca Fuentes
739d2f9bd4
Call #Finish() only when necessary for <BS>. As mentioned in #124 .
2013-03-27 18:33:58 -04:00
Israel Chauca Fuentes
eb7738e4aa
Call #Finish() only when necessary. Closes #124 .
2013-03-27 16:50:53 -04:00
Israel Chauca Fuentes
32f5d8df07
Do not map over <Esc>. Closes #118 .
2013-02-12 10:37:42 -05:00
Israel Chauca Fuentes
7b5887c324
Do not create bogus imap. closes #113 , closes #87 .
2013-02-08 20:43:32 -05:00
Israel Chauca Fuentes
0326b7c14a
Flush buffer on scrolling.
2012-07-20 15:51:19 -04:00
Israel Chauca Fuentes
1dfe26a538
Fix CR expansion & syn fold enabled by InsertLeave
...
Benamin Fritz reported the following:
Without the "zv", if the user has syntax folding on, when the mapping
invokes <Esc> the pair of braces which were just separated by a <CR>
could become folded, so that the trailing "o" opens a new line AFTER
the pair.
2012-06-08 16:56:34 -04:00
Israel Chauca Fuentes
5a84c1a746
Update :DelimitMateTest for eol_marker.
2012-04-15 20:16:44 -04:00
Israel Chauca Fuentes
0f9563969d
Update doc about #77 .
2012-04-15 01:47:19 -04:00
Israel Chauca Fuentes
d3ffebab74
Replace for loop with map(). Should finish with #77 .
2012-04-15 01:34:56 -04:00
Israel Chauca Fuentes
ece6c39a65
Add eol marker only if inserted on the same 'insert session'.
2012-04-15 01:02:28 -04:00
Israel Chauca Fuentes
ad151d3e55
Fix readme.
2012-04-14 19:36:51 -04:00
Israel Chauca Fuentes
b65d719353
Add string next to the closing matchpair when at the eol. Closes #77 .
2012-04-14 19:36:51 -04:00
Israel Chauca Fuentes
ad4430706e
Fix conflict with cindent. Comment on #95 .
2012-04-01 17:59:40 -04:00
Israel Chauca Fuentes
93d4a373fb
Correct test for CR expansions.
2012-03-31 17:00:51 -04:00
Israel Chauca Fuentes
a9f51531d9
Consider indentation with BS on empty expanded CR.
2012-03-31 16:56:31 -04:00
Israel Chauca Fuentes
6bb98110b4
Consider space and CR expansions when jumping over. Closes #95 .
2012-03-31 13:33:24 -04:00
Israel Chauca Fuentes
0b34aea202
Always jump over the quote on the right. Closes #89 .
2012-03-04 00:11:40 -05:00
Israel Chauca Fuentes
f1e92d05d5
Make smart quote work beyond the first column. Closes #89 .
2012-03-03 16:09:08 -05:00
Israel Chauca Fuentes
26a6def62f
Add an option to prevent mapping to ^[OC.
...
Might be useful in #87 .
2012-02-28 18:27:13 -05:00
Israel Chauca Fuentes
0fb597ef36
Make :DelimitMateTest more verbose.
...
- Add the output of :version.
- Print all mapping regardless of value.
- Ask before overwriting a modified buffer.
2012-02-25 17:45:28 -05:00
Israel Chauca Fuentes
fe5dd9a61a
Fix typo in doc. Closes #85 .
2012-02-24 20:48:05 -05:00
Israel Chauca Fuentes
bb9b0edcc5
Simplify CR expansion mapping. Add Test for it.
2012-02-24 20:32:42 -05:00
Israel Chauca Fuentes
f3176a664c
Merge branch 'master' of https://github.com/gyim/delimitMate
2012-02-23 20:46:02 -05:00
Israel Chauca Fuentes
9c77b8434a
Use default cpo values while creating mappings. Closes #72 .
2012-02-22 23:14:01 -05:00
Israel Chauca Fuentes
646794cbda
Remove "apostrophe" feature. Closes #81 .
2012-02-16 14:53:01 -05:00
Israel Chauca Fuentes
93fdcf92e1
Update README.
2012-02-16 02:30:35 -05:00
Israel Chauca Fuentes
fbbd9514c5
Add real README.
2012-02-16 02:28:10 -05:00
Israel Chauca Fuentes
be5c41b3c1
Add test files.
2012-02-16 01:59:28 -05:00
Israel Chauca Fuentes
b853ee9f35
Handle backspace option gracefully. Quick test for #64 .
2012-02-15 22:05:48 -05:00
Israel Chauca Fuentes
eb2625c4a7
Consider non ascii chars for smart quote.
2012-02-15 15:38:11 -05:00
Israel Chauca Fuentes
e17f6cd23c
Consider non ascii chars for smart quote. Close #73 .
2012-02-15 14:52:53 -05:00
Israel Chauca Fuentes
54acd56b48
Fix space expansion. Closes #68 .
2012-02-15 14:25:36 -05:00
Israel Chauca Fuentes
f5748da36c
Fix issues with quotes.
2012-02-14 18:39:48 -05:00
Israel Chauca Fuentes
eade67b409
Remove noise.
2012-02-12 13:33:04 -05:00