hrsh7th
6fa7681812
Fix #321
2021-11-23 22:34:47 +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
ea10d5bd2f
Normalize keymapping configuration
...
Fix #475
Fix #570
Fix #533
2021-11-23 20:58:04 +09:00
hrsh7th
9b5d64d906
Fix #567
2021-11-23 19:37:25 +09:00
hrsh7th
876dd1a427
Fix #563
2021-11-23 19:29:01 +09:00
hrsh7th
f15be9e3ec
Fix #559
2021-11-22 17:49:03 +09:00
hrsh7th
1c7f73aa4a
Improve first display
2021-11-19 16:56:52 +09:00
Jonas Strittmatter
c2a9e0ccaa
Fix possible nil argument to string.byte ( #550 )
2021-11-18 18:57:24 +09:00
RaZ0rr-Two
f2e7685c21
Add some wiki info in README ( #549 )
2021-11-18 17:35:45 +09:00
hrsh7th
56ad7c9158
Rename type as cmdtype
2021-11-18 03:04:15 +09:00
hrsh7th
83a328c876
Improve completion reset handling
2021-11-18 02:54:27 +09:00
Hexin
27d4c21e8f
Fix document about scrolling docs backwards ( #538 )
2021-11-18 01:47:52 +09:00
hrsh7th
286b9f78d1
Refactor get_active_entry and core.filter ( #535 )
...
* Refactor get_active_entry and core.filter
* Refactor source.lua
2021-11-17 22:38:56 +09:00
Lukas Reineke
17d57f96cc
Add reason to complete function ( #529 )
...
fix #528
2021-11-17 01:17:58 +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
1cfe2f7dfd
Fix #526
2021-11-15 21:22:44 +09:00
hrsh7th
2de40ccf49
Fix #520
2021-11-15 14:26:50 +09:00
hrsh7th
05f4f8581c
cosmetic changes
2021-11-15 13:15:56 +09:00
hrsh7th
0f743f75ea
fmt
2021-11-15 13:12:16 +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
e61f7c5acc
Fix #513
2021-11-13 18:27:58 +09:00
feathecutie
f0f0065f85
Fixed typo in README.md ( #515 )
2021-11-13 17:09:20 +09:00
G.A. Jazali
af06bd4b44
Link to menu appearance page in wiki ( #493 )
...
* Updated info in README.md
Added instruction for icons and source without extra plugin.
* Replace snippet with link to wiki
2021-11-11 19:33:25 +09:00
hrsh7th
b3ee713d9b
Fix cmdline confirmation bug
2021-11-10 14:12:28 +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
ca63868549
Remove unused methods
2021-11-09 17:11:27 +09:00
hrsh7th
a62375e4cf
Improve regex handling
2021-11-09 17:07:13 +09:00
hrsh7th
c7a1b9f7c0
Handle InsertEnter and CmdlineEnter seperately
2021-11-09 15:31:56 +09:00
hrsh7th
97e4229be6
Remove triggering insert enter event
2021-11-09 15:20:05 +09:00
hrsh7th
823c73c16d
Improve avoiding InsertEnter's invalid mode detection
2021-11-09 15:01:44 +09:00
hrsh7th
3968bea5e2
Fixes the bug that the cmp.close does not close the menu when using native_menu.
2021-11-09 14:11:51 +09:00
hrsh7th
a0053885ba
Use key sequence to avoid the invalid mode detection
2021-11-09 14:05:13 +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
ac7c5fc00e
Fix #473
2021-11-08 21:24:10 +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
Ben Smith
40f667997a
Add linebreak option to cmp documentation window ( #486 )
2021-11-08 13:52:02 +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
d9e4ac5997
Save undopoint
2021-11-05 21:31:34 +09:00
hrsh7th
e1f880b7e0
Use apply_text_edits to avoid making the unexpected indentation by '<CR>'
2021-11-05 21:29:34 +09:00
Javier Lopez
9734453d77
fix(ghost_text): generate it using chars instead of bytes ( #471 )
...
Previously if the completion entry text had a multibyte character the
ghostly text renderd improperly, for example:
The cursor position is "|"
1. In this case the ghost text was spliting a multibyte character.
entry: comunicación
prev: comunicacio|<b3>n
now: comunicacio|n
2. In this case the multibyte character was before meking the index
wrong, therefore presenting an extra character of the entry as ghost text.
entry: árbol
prev: arbol|l
now: arbol|
With this changes the calculation for the bytes to show is done based on
characters avoiding both of the issues above.
2021-11-05 11:49:42 +09:00