Commit Graph

114 Commits

Author SHA1 Message Date
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
chmnchiang
3b4d3ceab1 Fix and improve README.md (#462)
Fix some typos and errors in `README.md`.
2021-11-02 17:43:46 +09:00
hrsh7th
bf0dd907d6 Fix #458 2021-11-02 12:24:11 +09:00
Bradley Mackey
437074a303 README: clarify that a snippet plugin is required (#439)
* README: clarify that a snippet plugin is required

* README: add to FAQ about snippet

* README: use snippet 'engine' nomenclature

* README: fix typo
2021-10-30 18:42:37 +09:00
hrsh7th
3945dc5d00 Add basic recently_used comparator 2021-10-29 18:46:51 +09:00
hrsh7th
1c498a5497 Add cmp.event:on() (#418) 2021-10-28 11:02:19 +09:00
hrsh7th
455817bb26 Update README.md 2021-10-27 13:34:49 +09:00
hrsh7th
cae2e8f48b RFC: cmdline completion (#362)
* manual support dot-repeat

* cmdwin and terminal

* cmdline only

* Fix

* fix

* Improve

* Fix test

* Support macro

* disable cmdline for now

* Simplify

* fmt

* consume once

* Ignore = type

* cmdline

* fmt

* Improve

* update

* fmt

* Support incsearch

* fix

* Add api

* Avoid cmdline completion if the native_menu enabled

* fix for macro

* Improve

* fmt

* Insert-mode only by default

* Update

* avoid conflict

* Improve default mapping

* Fix

* fix

* similar to native

* Update

* Fix README.md

* Improve

* Use <afile>
2021-10-27 12:38:46 +09:00
hrsh7th
f1da3adddc Add cmp.config.disable for opt-out default setting 2021-10-25 22:50:38 +09:00
hrsh7th
b185e303bd Improve group handling 2021-10-23 00:38:55 +09:00
hrsh7th
533f17c569 group -> group_index 2021-10-22 19:52:48 +09:00
hrsh7th
8a10870cbe Update README.md 2021-10-22 18:38:51 +09:00
SebastienWae
d26148f417 clarify setup.buffer (#392)
Clarify the fact that setup.buffer overwrite the global sources.

related to hrsh7th/nvim-cmp/issues#390
2021-10-22 18:30:09 +09:00
hrsh7th
452ce16246 Add cmp.selected_entry/cmp.get_active_entry 2021-10-22 18:25:24 +09:00
hrsh7th
e4a2cec153 Implement source group.
Fixes #391
2021-10-22 18:24:03 +09:00
hrsh7th
26e73f3140 Fix #372 2021-10-19 14:55:14 +09:00
hrsh7th
49acc84853 Add item fields order
Fixes #337
2021-10-12 20:50:05 +09:00
Xuyuan Pang
2a8dc6208a Added option to set zindex of documentation window (#335) 2021-10-12 13:33:46 +09:00
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
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
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
babb8023c6 Add cmp.visible 2021-10-10 12:13:57 +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
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
Andrey Kuznetsov
a39f72a463 document new lspkind integration with nvim-cmp (#275) 2021-10-06 22:10:58 +09:00
hrsh7th
7c97261b82 Add cmp#ready autocmd 2021-09-23 22:58:36 +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
Le Tien Chien
329f0b784d fix: README typo (#215)
Co-authored-by: chien.le <chien.le@shopee.com>
2021-09-17 22:57:54 +09:00
hrsh7th
a2545692ef README.md simpilification 2021-09-17 18:49:56 +09:00
hrsh7th
b47a703a48 RFC: CmpStatus command (#210)
* Add `CmpStatus` command

* Update headings

* Fix heading

* Update headings

* Add README.md

* Fix tests

* Force invoke InsertEnter
2021-09-17 13:29:28 +09:00
hrsh7th
12ed912c36 Add the ability to specify source priority manually 2021-09-16 13:06:26 +09:00
hrsh7th
ca77ec6dcc Change default format.deprecated value 2021-09-16 12:54:51 +09:00
Duc Pham
1cd577403d Fix typo (#199) 2021-09-15 19:09:17 +09:00
hrsh7th
e62303abab Prettier 2021-09-14 16:18:57 +09:00
hrsh7th
f90093bb0e Add concepts 2021-09-14 16:15:06 +09:00
hrsh7th
2c92fef040 Advertise a bit 2021-09-14 13:08:04 +09:00
hrsh7th
44ffee0e0c Add Vim script API docs 2021-09-14 01:29:02 +09:00
hrsh7th
6173796b2b Support Vim script plugins 2021-09-13 23:57:59 +09:00
hrsh7th
9c460395a0 InsertMode is required 2021-09-13 01:05:31 +09:00
hrsh7th
a78894a09a Implement enabled=false configuration 2021-09-13 00:59:48 +09:00
hrsh7th
613328c375 Expose built-in comparators 2021-09-10 01:03:07 +09:00
hrsh7th
6f48e2650f Update README.md 2021-09-09 22:06:12 +09:00
Iron-E
ae54dcdc49 Reduce use of VimL (#168)
* perf(context): reduce use of `cmd` and `fn`

* perf(float): reduce use of `cmd` and `fn`

* perf(init): reduce use of `cmd` and `fn`

* perf(menu): reduce use of `cmd` and `fn`

* perf(plugin): reduce use of `cmd` and `fn`

* docs(README): reduce use of `cmd` and `fn`
2021-09-09 11:12:22 +09:00
hrsh7th
cc28d6fa96 Update example mapping 2021-09-08 20:31:59 +09:00
PyGamer0
c44ae32bf5 fix typo (#170)
I think this is a typo
2021-09-07 21:09:33 +09:00