Commit Graph

536 Commits

Author SHA1 Message Date
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
dff06958a7 Fix #716 2022-01-10 22:57:58 +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
3f7b7b258a Add complete_done event and improved the recently_used sorter.
Fix #708
2022-01-08 13:38:55 +09:00
hrsh7th
a4f83fd839 Fix #589 2022-01-08 13:33:53 +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
xna00
1b94aacada Correct the description of functions (#697) 2022-01-02 12:44:42 +09:00
ap29600
eca04af4f8 handle nil value accessing CompletionItemKind (#690)
this prevents error messages from polluting the screen while using [ols](https://github.com/DanielGavin/ols) for autocompletion.
2021-12-31 01:07:02 +09:00
hrsh7th
d0f2ce460b Fix #615 2021-12-30 22:24:40 +09:00
hrsh7th
5cf5576ceb Fix #683 2021-12-30 22:23:17 +09:00
max397574
966dfdc402 add function to check if in comment (#676)
* feat(utils): added function to check if in comment

* moved functions into config.context and generalized

* feat(configs.context): added annotations
2021-12-29 19:48:26 +09:00
Dmytro Meleshko
b9edce7214 Add the snippet indicator for items with Snippet kind (#677) 2021-12-29 03:17:22 +09:00
Daniel Steinberg
4a19645374 Use a default zindex of 50 for documentation (#661)
This matches the default zindex for floating windows.
2021-12-21 10:52:43 +09:00
Dmytro Meleshko
9c07c2d1c5 Fix vim.fn.complete being constantly called (#654) 2021-12-20 14:54:16 +09:00
hrsh7th
da4c071f6b Fix #648 2021-12-14 22:41:45 +09:00
hrsh7th
91b6f503c1 Fix #582 2021-12-14 22:12:00 +09:00
hrsh7th
47d7cfc06a Fix #640 2021-12-14 17:46:31 +09:00
hrsh7th
b903545950 Fix #646
Resolve all properties by default
2021-12-14 14:22:17 +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
edc2a503ee Fix #610 2021-12-05 18:22:03 +09:00
hrsh7th
7960dad502 fmt 2021-12-02 16:10:35 +09:00
hrsh7th
c2652f0ac0 Implement #349 2021-12-02 15:56:42 +09:00
hrsh7th
d17d41bdbd Fix #595 2021-12-01 20:46:34 +09:00
hrsh7th
a61c36a639 fmt 2021-12-01 15:03:59 +09:00
hrsh7th
f2f9a3325c Use vim.lsp.util.apply_text_edits instead of vim-vital-vs 2021-12-01 14:17:16 +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
593a6345de Implement kind highlights (#584)
* Implement kind highlights

* Fix link
2021-11-27 19:20:44 +09:00
hrsh7th
7b744e0589 Fix multibyte chars 2021-11-27 18:52:57 +09:00
Lyude
a86017117b Fire change events when selecting different items with native menu completion (#514)
Previously we didn't do this, which resulted in the documentation window
not being shown when switching through different completion items. Fix
this by firing the change event in select_next_item and select_prev_item.
2021-11-27 17:43:40 +09:00
hrsh7th
2e4270d028 Improve incomplete handling 2021-11-24 12:57:04 +09:00
hrsh7th
ac476e05df Remove misc.readonly
Fix #571
2021-11-23 23:22:22 +09:00
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
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
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