Andy K. Massimino
d647ae8d2c
Add nvim version check for matchparen_deferred
...
closes #22
2018-03-04 14:21:14 -05:00
Andy K. Massimino
f0b6e155d4
Improve version check/warning for matchparen_deferred
2018-03-03 15:12:05 -05:00
Andy K. Massimino
61dcf75ca1
Allow motions and objects to fail with best found
...
re. #16
Adds option g:matchup_delim_count_fail
2018-03-03 12:50:25 -05:00
Andy K. Massimino
c3ed11fbf9
Add performance display command
2018-03-03 12:18:22 -05:00
Andy K. Massimino
fd54741f9b
Listen to TextChanged{,I,P} for matchparen
2018-03-03 12:00:58 -05:00
Andy K. Massimino
f8713c478d
Initialize buffer even when no FileType set
2018-03-03 11:58:51 -05:00
Andy K. Massimino
cd8de37192
Use relativenumber properly
2018-02-10 13:52:00 -05:00
Andy K. Massimino
26c6b90222
Use local statusline rel. 21
2018-02-10 12:44:51 -05:00
Andy K. Massimino
d89f48fb54
Separate stopline for highlighting, documentation
...
Now g:matchup_matchparen_stopline and g:matchup_delim_stopline.
Closes #21 .
2018-02-10 11:36:54 -05:00
Andy K. Massimino
242cc435fa
Fix stale matches when entering fold
2018-02-10 10:50:45 -05:00
Andy K. Massimino
b79d11b960
Don't get matches when inside a closed fold
2018-02-04 23:28:39 -05:00
Andy K. Massimino
9d8a01059d
Fix linewise i% e.g., html
2018-01-15 20:36:41 -05:00
Andy K. Massimino
74183427cb
Tweak i% text object
...
Related #16
2017-12-23 17:45:46 -05:00
Andy K. Massimino
efa1f814d6
Fix bug in pos#next
2017-12-23 17:18:07 -05:00
Andy K. Massimino
d2c649e5cf
Fix bug in g@ detection
2017-12-23 00:11:11 -05:00
Andy K. Massimino
c2a7cf1891
Handle ci%, etc with empty region
2017-12-22 13:51:29 -05:00
Andy K. Massimino
279ba50399
Improve text_obj_linewise_operators spec, cf #15
2017-12-20 13:11:27 -05:00
Andy K. Massimino
7b8495a247
Improve performance by removing cpo-=c
...
Using \& instead. Hopefully this doesn't cause any issues.
2017-12-19 10:54:53 -05:00
Andy K. Massimino
6e55e1db3e
Properly set invert_skip in get_surrounding
2017-12-18 13:56:44 -05:00
Andy K. Massimino
36e347e8aa
Try not to show off-screen matches while "scrolling"
2017-12-18 13:56:05 -05:00
Andy K. Massimino
7c80951463
Add smartskip check in delim#get_surrounding
2017-12-17 11:36:22 -05:00
Andy K. Massimino
8621b63a3c
Add flag to not include matchpairs
2017-12-17 11:19:13 -05:00
Andy K. Massimino
cdaded0dd9
Don't show offscreen for skipped
2017-12-13 01:02:20 -05:00
Andy K. Massimino
0cc31b6ee4
Fix end pos computation in get_matching_delims
2017-12-13 00:59:46 -05:00
Andy K. Massimino
573ae8f3f0
Change cursor end when double clicking close
2017-12-13 00:41:10 -05:00
Andy K. Massimino
5d74fcf134
Improve double click selection
2017-12-03 09:29:37 -05:00
Andy K. Massimino
78a17f8ae3
Repair defect in jump_target
2017-12-02 13:23:48 -05:00
Andy K. Massimino
a4936b8aad
Allow double click to select to match
2017-12-02 11:13:03 -05:00
Andy K. Massimino
77d3de55f3
Fix wrong capture groups with mixed \( \%(
2017-12-01 14:33:02 -05:00
Andy K. Massimino
db56abe5fe
Remove small bit of dead code
2017-11-30 14:23:28 -05:00
Andy K. Massimino
c93dbac19c
Update motions and objects for &selection
2017-11-30 14:19:06 -05:00
Andy K. Massimino
c921d387b2
Tweak text_obj for unicode and sel=exclusive
2017-11-30 00:45:21 -05:00
Andy K. Massimino
ea7e17bc0f
Make motion omaps prettier
2017-11-30 00:43:31 -05:00
Andy K. Massimino
ebf5a90429
Fix offset in get_surrounding
2017-11-29 14:06:39 -05:00
Andy K. Massimino
bf02c349d0
Fix pos#prev/next, improve motion for unicode
2017-11-29 12:00:26 -05:00
Andy K. Massimino
ba7ae53f80
Fix for %: don't move or operate if no match
2017-11-28 11:01:28 -05:00
Andy K. Massimino
31a830727f
Fix bug in d%/dg%
2017-11-27 20:44:22 -05:00
Andy K. Massimino
ccccf48d6e
Allow forcing for % and g%
2017-11-27 20:10:54 -05:00
Andy K. Massimino
3c4e293cb8
Regularize \[:] escaping: no need to escape ]
2017-11-27 12:40:54 -05:00
Andy K. Massimino
7d63074d4a
Fix incorrect handling of match_skip r:
2017-11-27 12:24:06 -05:00
Andy K. Massimino
906f8eb8fa
Implement smart skipping for strings and comments
...
- cf. #10
- allows expected highlighting in strings and comments
- smart skip will only match delimiters with same skip status
- motions to skipped delimiters work while cursor is in skip
2017-11-27 11:16:09 -05:00
Andy K. Massimino
54ec433a7b
Implement highlight surrounding feature
2017-11-21 22:48:28 -05:00
Andy K. Massimino
a08094849f
Make minor statusline highlighting group fix
2017-11-21 20:35:53 -05:00
Andy K. Massimino
e11bb19966
Add compatibility for 'N' sort flag, cf. #4
...
(added in patch-7.4.951)
2017-11-19 13:48:20 -05:00
Andy K. Massimino
324a562bcd
Make minor formatting fixes
2017-11-19 13:27:35 -05:00
Andy K. Massimino
4532a87143
Fix jump target for unicode
2017-11-19 12:42:33 -05:00
Andy K. Massimino
0311947235
Allow patterns containing \zs and \ze
2017-11-19 12:13:39 -05:00
Andy K. Massimino
f2e8a2834a
Implement deferred matchparen highlighting
...
Fixes #6
2017-11-17 10:54:38 -05:00
Andy K. Massimino
44362650e7
Remove z flag from searchpairpos because it's useless
2017-11-16 15:51:47 -05:00
Andy K. Massimino
aa1bf46b91
Fix variable type mismatch
2017-11-16 15:25:40 -05:00