Commit Graph

596 Commits

Author SHA1 Message Date
hrsh7th
7a36a31331 No requires lazyredraw 2021-10-12 11:11:08 +09:00
hrsh7th
30ed4e43a6 Use <C-g> correctly 2021-10-12 01:53:27 +09:00
hrsh7th
fe2b245ea1 Fix #330 2021-10-11 18:38:01 +09:00
hrsh7th
2f2794decd refactor 2021-10-11 18:38:01 +09:00
hrsh7th
071c08fcc9 Update README.md 2021-10-11 12:15:49 +09:00
hrsh7th
b61d78dc34 Update README.md 2021-10-11 12:15:16 +09:00
hrsh7th
2085cc4d35 Fix #294 2021-10-11 03:03:02 +09:00
hrsh7th
d8e6a865e4 Use instead of 2021-10-11 00:43:53 +09:00
hrsh7th
67d43ddd59 Fix incorrect highlight 2021-10-11 00:26:21 +09:00
hrsh7th
6790f0a853 Fix #320 2021-10-10 23:49:39 +09:00
stvhuang
b9b5296f61 Fix typos in README.md (#319) 2021-10-10 18:45:09 +09:00
hrsh7th
5a2b5ded2f Advertise 2021-10-10 15:11:54 +09:00
hrsh7th
20aa77b492 format&lint 2021-10-10 14:04:39 +09:00
hrsh7th
f4c33ac7a9 Remove abbr formatting 2021-10-10 14:00:59 +09:00
hrsh7th
0a31d67219 Lazy buffer creation 2021-10-10 13:57:37 +09:00
hrsh7th
d901dae302 Fix #296 2021-10-10 13:13:25 +09:00
hrsh7th
b16663f780 Improve 2021-10-10 12:50:35 +09:00
hrsh7th
370e6ff076 Use nvim_win_hide instead o nvim_win_close for supporting custom menu on cmdwin 2021-10-10 12:23:39 +09:00
hrsh7th
babb8023c6 Add cmp.visible 2021-10-10 12:13:57 +09:00
hrsh7th
ae42ce7b05 More fallback
Fix #286
2021-10-10 12:05:41 +09:00
hrsh7th
3a51a8ec7b Fix #294 2021-10-10 11:57:02 +09:00
hrsh7th
2ebdccf61a Fix #306
Fix #296
Fix #293
Fix #291
2021-10-10 11:54:30 +09:00
Jongwook Choi
68f7eeb3f0 Make the pum window property respect future changes of &pumblend (#313)
PR #310 added a support for the pumblend property for the custom
floating completion pop-up menu, but the winblend option is set
globally which doesn't respect future changes (e.g., `set pumblend=..`).

Such window options for the pop-up window that might be changed later
would need to be set when the floating window is being opened.
2021-10-10 01:33:36 +09:00
Aquib
20b99bc54b adding the pumblend property to floating pum window (#310)
* adding the pumblend property to floating pum window

* setting pumblend value directly
2021-10-10 00:31:59 +09:00
Hennadii Chernyshchyk
2bf240502c Remove experimental.cusom_menu (#311)
If I understood correctly, now we only have the `experimental.native_menu`, which is disabled by default (e.g, the custom menu is used by default).

Also do we need to set `completeopt`? If no, we could remove `How to set up like nvim-compe's preselect = 'always'` section
2021-10-10 00:10:59 +09:00
hrsh7th
883eee5bbc Use <C-h> and support cmdwin 2021-10-10 00:01:15 +09:00
hrsh7th
339fe9177b Don't completion by CursorMoved event 2021-10-09 17:33:24 +09:00
Hexin
12a24c0eb3 Check whether option exists (#301) 2021-10-09 15:18:18 +09:00
Hexin
6ca23ea407 Force cursorlineopt=line for selection highlighting in floating window (#295) 2021-10-09 14:02:57 +09:00
hrsh7th
ada9ddeff7 Use floating window for completion menus (#224)
* WIP

* WIP

* Fix #226

* Insert text

* Emulate vim native

* テキトウ

* Tekito

* Move scrollbar impl

* aaa

* Ignore unexpected event

* fix

* fix scroll

* Refactor (conflict...)

* Fix bug

* Positive integer

* Refactor a bit

* Fix for pumheight=0

* fx

* Improve matching highlight

* Improve colorscheme handling

* fmt

* Add cmp.visible

* Fix pum pos

* ABBR_MARGIN

* Fix cel calculation

* up

* refactor

* fix

* a

* a

* compat

* Remove current completion state

* Fix ghost text

* Add feature toggle

* highlight customization

* Update

* Add breaking change announcement

* Add README.md

* Remove unused function

* extmark ephemeral ghost text

* Support native comp

* Fix docs  pos

* a

* Remove if native menu visible

* theme async

* Improvement idea: option to disables insert on select item (#240)

* use ghost text instead of insertion on prev/next item

* add disables_insert_on_selection option

* move disable_insert_on_select option as argumet on

* update README

* use an enum behavior to disable insert on select

* Adopt contribution

* Preselect

* Improve

* Change configuration option

* a

* Improve

* Improve

* Implement proper <C-e> behavior to native/custom

* Support <C-c> maybe

* Improve docs view

* Improve

* Avoid syntax leak

* TODO: refactor

* Fix

* Revert win pos

* fmt

* ghost text remaining

* Don't use italic by default

* bottom

* dedup by label

* Ignore events

* up

* Hacky native view partial support

* up

* perf

* improve

* more cache

* fmt

* Fix format option

* fmt

* recheck

* Fix

* Improve

* Improve

* compat

* implement redraw

* improve

* up

* fmt/lint

* immediate ghost text

* source timeout

* up

* Support multibyte

* disable highlight

* up

* improve

* fmt

* fmt

* fix

* fix

* up

* up

* Use screenpos

* Add undojoin check

* Fix height

* matcher bug

* Fix dot-repeat

* Remove undojoin

* macro

* Support dot-repeat

* MacroSafe

* Default item count is 200

* fmt

Co-authored-by: Eric Puentes <eric.puentes@mercadolibre.com.co>
2021-10-08 18:27:33 +09:00
hrsh7th
5bed2dc9f3 Fix cache problem #272 2021-10-07 14:34:07 +09:00
Andrey Kuznetsov
a39f72a463 document new lspkind integration with nvim-cmp (#275) 2021-10-06 22:10:58 +09:00
hrsh7th
af70f40d2e Add is_insert_mode utility 2021-09-30 21:06:32 +09:00
hrsh7th
a63a1a23e9 Fix #262 2021-09-29 21:20:35 +09:00
hrsh7th
f56e6b5ee4 Fix #226 2021-09-29 19:52:27 +09:00
hrsh7th
cc21a61910 Fix timing problem for some of the snippet engine
Fixes #236
2021-09-24 16:35:28 +09:00
hrsh7th
7c97261b82 Add cmp#ready autocmd 2021-09-23 22:58:36 +09:00
hrsh7th
d9a82c7616 Fix #239 2021-09-23 21:17:37 +09:00
hrsh7th
0a8ca50d9e Fix #233 2021-09-22 03:02:20 +09:00
hrsh7th
07f84fe8d6 Fix #232 2021-09-22 02:15:34 +09:00
hrsh7th
132f8c259a Fix #227 2021-09-21 23:24:19 +09:00
Theory_of_Everything
7e2f77013b FIx: Typo (#229) 2021-09-21 15:23:16 +09:00
Theory_of_Everything
0b45cee3a8 Fix: bad function usage in README for UltiSnips (#228)
This commit fixes an issue with using vsnip#anonymous in the snippet expand function for Ultisnip
The main issue, is that when using vsnip#anonymous instead of UltiSnip#Anon when calling the cmp.mapping.confirm map on a non-snippet option would "crash" cmp, ceasing its normal functionality. Using UltiSnps#Anon fixes this issue.
2021-09-21 14:38:11 +09:00
hrsh7th
fdd3809893 Fix expr recursive mapping 2021-09-21 10:51:32 +09:00
hrsh7th
13e8b61371 Fix keymap bug 2021-09-19 13:40:27 +09:00
hrsh7th
7c8876330d Fix #220 2021-09-19 02:23:58 +09:00
hrsh7th
b99d7292b0 Fix #219 2021-09-19 01:49:07 +09:00
hrsh7th
7bfa33a8db Improve performance (maybe) 2021-09-19 01:06:29 +09:00
hrsh7th
86c2b1bb63 Format 2021-09-18 00:35:31 +09:00
hrsh7th
77297a0a87 Remove virt_text_win_col 2021-09-18 00:30:12 +09:00