phanium
7d4051064c
fix: make <c-;> work again ( #2073 )
...
* fix: make <c-;> work again
* fix: also <c-_>
2024-11-02 13:39:41 +09:00
hrsh7th
88661b7cbf
Format with stylua
2024-10-21 12:05:14 +00:00
zeertzjq
19bd8c7c9a
fix: use \<* notation for keymap.normalize ( #2069 )
...
Fix https://github.com/hrsh7th/nvim-cmp/pull/1935#issuecomment-2426250159
2024-10-21 21:05:01 +09:00
Jaehwang Jung
2c93d5e7e2
perf: use builtin for key normalization ( #1935 )
2024-10-21 10:35:21 +09:00
hrsh7th
11102d3db1
Squashed commit of the following:
...
commit 6e81cce2cf9b9487e92c15cdfb145647de7c2db5
Author: hrsh7th <629908+hrsh7th@users.noreply.github.com >
Date: Thu Apr 27 01:11:41 2023 +0900
Improve key identity check
2023-04-27 11:02:23 +09:00
MovEaxEsp
c49ad26e89
keymap.lua: Fix duplicate keymap detection ( #1379 )
...
'listen' has some code in it to try to not re-set a map for an existing mapping, by checking the 'desc' of the table returned from 'get_map'. Since 'desc' was never included in the table returned from 'get_map', I'm assuming my changes here were always the intention.
This change seems to fix an issue I was seeing (with cmp-nvim-ultisnips at least) where every time I'd enter and leave Insert mode, seemingly another <Tab> handler was getting registered, overtime causing <Tab> in Insert mode to get slower and slower.
2022-12-31 02:58:28 +09:00
hrsh7th
e820335208
LSP 3.17 ( #1306 )
...
* 3.17
* PositionEncodingKind
* Implement PositionEncodingKind
* Remove luarc.json
2022-11-16 01:27:15 +09:00
hrsh7th
3347dd3c59
Fix #1217
2022-10-15 15:20:35 +09:00
figsoda
714ccb7483
fix compatibility with nvim < 0.8 ( #1227 )
2022-10-12 00:35:19 +09:00
hrsh7th
53bd574901
Fix #1213
2022-10-11 11:44:23 +09:00
hrsh7th
49c4050e24
Refactor a bit
2022-08-20 19:23:05 +09:00
hrsh7th
76ba56ce96
Decrease waits
2022-07-24 13:14:01 +09:00
hrsh7th
bf5593df8e
Improve typings
2022-07-24 12:44:53 +09:00
Jaehwang Jung
160405250e
Reuse scratch buffer for keymap normalization ( #991 )
2022-05-15 18:44:21 +09:00
zeertzjq
6527e5f31b
fix: use scratch buffer and lhs for keymap.normalize() ( #986 )
...
Fix https://github.com/neovim/neovim/issues/18303
This can be slower, I don't know how frequently this function is called as I don't use this plugin.
2022-05-13 19:18:29 +09:00
hrsh7th
801a9f98bb
Improve macro handling
2022-04-08 22:04:08 +09:00
hrsh7th
7dbe34e36d
Fix snr notation
2022-04-02 01:32:49 +09:00
hrsh7th
b3ca3fde06
Fix recursive mapping problem. Thank you tpope!
...
Fix #858
Fix #871
2022-04-02 00:32:19 +09:00
hrsh7th
33fc65f174
test&lint&fmt
2022-02-13 14:38:31 +09:00
hrsh7th
070c5572ad
Implement shell like common string completion.
...
Fix #785
2022-02-13 14:34:28 +09:00
hrsh7th
d6838996da
improve
2022-01-31 17:04:38 +09:00
hrsh7th
f4bb6ffdb1
Improve keymap ( #768 )
...
* Improve keymap
* improve
* rename
* Add tests
* Use nightly for testing
* Enable failing test
* Add manual test case
2022-01-31 14:16:48 +09:00
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
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
5533c352c6
Fix #699 Fix #705 Fix #698
2022-01-07 01:27:50 +09:00
hrsh7th
49de058222
Fix #637
2021-12-14 13:59:03 +09:00
hrsh7th
3e5ee9c789
Don't feed <C-f> manually but check auto-indentation
2021-11-16 04:16:37 +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
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
1a79d7e549
Fix #481
2021-11-08 14:59:20 +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
hrsh7th
01fcf869bb
Fix expansion bug
2021-11-04 20:49:28 +09:00