Commit Graph

149 Commits

Author SHA1 Message Date
hrsh7th
682818b211 evacuate -> fallback 2022-01-18 19:14:38 +09:00
hrsh7th
4c0a6512a0 Fix cmdline mapping again 2022-01-17 19:43:38 +09:00
hrsh7th
cea9c2a0c9 fix cmdline mapping 2022-01-17 19:28:16 +09:00
hrsh7th
c23d810a66 Fix #746 2022-01-17 19:20:09 +09:00
hrsh7th
a54064d940 Add comments 2022-01-16 01:00:53 +09:00
hrsh7th
49d94e0ef3 Fix keymap.t timing 2022-01-16 00:53:03 +09:00
hrsh7th
703e915b7f Improve keymapping handling 2022-01-16 00:37:28 +09:00
hrsh7th
243d5f4a12 Fix expression resolving timing 2022-01-15 22:56:01 +09:00
hrsh7th
ec972710d3 Solve expression manually 2022-01-15 22:53:10 +09:00
hrsh7th
2ed0cdab36 Revert expr mapping handling 2022-01-15 20:45:21 +09:00
hrsh7th
76d92fca64 Fix cmdline completion redraw 2022-01-15 20:25:34 +09:00
hrsh7th
9f3440e765 Add comments 2022-01-15 19:50:19 +09:00
hrsh7th
008de7eb8a Avoid expr mapping message (#738)
* Avoid display message by register mapping

* Escape to json

* Improve tests

* fmt

* lint

* Fix evacuate condition

* Default silent

* fallback mapping should be silent by default

* Support legacy nvim
2022-01-15 19:18:04 +09:00
hrsh7th
098182e2c2 Fix #734 2022-01-15 18:56:29 +09:00
hrsh7th
bce1b2d780 Fix expr keymap handling 2022-01-14 18:45:28 +09:00
hrsh7th
ce0a3581e0 Improve word creation 2022-01-12 01:19:01 +09:00
hrsh7th
5ddf3732c5 Fix #721 2022-01-11 18:47:21 +09:00
hrsh7th
96c392dee3 Improve tests 2022-01-11 12:24:44 +09:00
hrsh7th
d6aaea47f4 Improve keymap handling (#720)
* Improve keymap handling

* Simplify

* Fix tests

* Fix callback no expr mapping

* Rename functions

* Use manual key conversion logic

* fmt
2022-01-11 02:18:09 +09:00
hrsh7th
ef5bdb43fa Improve redraw in search mode 2022-01-10 23:52:23 +09:00
hrsh7th
21456a109e fmt/test 2022-01-10 23:01:47 +09:00
hrsh7th
e0cfbbbaa8 Re-fix flickering 2022-01-10 22:39:58 +09:00
hrsh7th
89643cc287 Fix hlsearch
Fix https://github.com/hrsh7th/cmp-cmdline/issues/29#issuecomment-1008821502
2022-01-10 22:06:57 +09:00
hrsh7th
5533c352c6 Fix #699 Fix #705 Fix #698 2022-01-07 01:27:50 +09:00
hrsh7th
796f925915 Fix #703 2022-01-07 00:38:42 +09:00
hrsh7th
49de058222 Fix #637 2021-12-14 13:59:03 +09:00
Dmytro Meleshko
727ddee59e Fix rendering of wide characters in the custom completion window (#641) 2021-12-13 13:05:55 +09:00
hrsh7th
a61c36a639 fmt 2021-12-01 15:03:59 +09:00
Iron-E
ed000eb3d4 fix: default highlights overriding existing highlights (#591)
`highlight! default` overrides the existing highlight in order to set a
default link. So any highlight group that exists before will be wiped
over.
2021-11-30 13:29:02 +09:00
hrsh7th
ac476e05df Remove misc.readonly
Fix #571
2021-11-23 23:22:22 +09:00
hrsh7th
1944b46336 Allow to take the full SourceConfig from source API (#561)
* - SourceConfig.opts -> SourceConfig.option
- Add SourceConfig.trigger_characters
- Allow accessing full SourceConfig from source

* fmt&lint
2021-11-23 21:17:03 +09:00
hrsh7th
9b5d64d906 Fix #567 2021-11-23 19:37:25 +09:00
hrsh7th
4d800fbcab Fix cmdline screen cursor 2021-11-16 13:42:38 +09:00
hrsh7th
3e5ee9c789 Don't feed <C-f> manually but check auto-indentation 2021-11-16 04:16:37 +09:00
hrsh7th
3a2afb3cae Add cmdline expansion test 2021-11-15 13:11:42 +09:00
hrsh7th
c194a3dbba Add tests 2021-11-15 12:44:41 +09:00
hrsh7th
753f5b7c92 Fix #516 (#517)
* Fix #516

* Fix

* Fix and tests

* fmt lint
2021-11-14 02:47:31 +09:00
hrsh7th
6071062289 Fix #504 2021-11-10 04:28:32 +09:00
Dmytro Meleshko
faaf1c9629 Handle block visual/select modes, refactor mode handling (#498) 2021-11-09 19:41:16 +09:00
hrsh7th
453a62f882 Add textwidth tests 2021-11-08 22:23:53 +09:00
hrsh7th
2fca457453 Re-fix autoindent with tests 2021-11-08 22:16:58 +09:00
hrsh7th
313773584d Fix #494 2021-11-08 21:55:06 +09:00
hrsh7th
f831dbc107 strict mapping handling 2021-11-08 20:38:08 +09:00
hrsh7th
1628c934d1 Fix tests 2021-11-08 15:47:35 +09:00
hrsh7th
ec788bebd0 Fix #480 2021-11-08 15:05:37 +09:00
hrsh7th
1a79d7e549 Fix #481 2021-11-08 14:59:20 +09:00
hrsh7th
1774ff0f84 Fix cmdline confirmation 2021-11-05 22:44:43 +09:00
hrsh7th
d0231d06de Improve async.step 2021-11-05 21:32:30 +09:00
hrsh7th
e1f880b7e0 Use apply_text_edits to avoid making the unexpected indentation by '<CR>' 2021-11-05 21:29:34 +09:00
Martijn Hoogendoorn
bf31b71f03 Escape <Bar> when setting indentkeys (#474)
In `keymap.autoindent`, `!^F` is added to `indentkeys`, then `<C-f>` is
fed.  In the end `indentkeys` is reset to its original value.

We need to escape any `|` in `indentkeys` when setting the option
because otherwise they are seen as the command separator.
2021-11-05 11:47:06 +09:00