Commit Graph

88 Commits

Author SHA1 Message Date
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
hrsh7th
b832719c68 Implement config.confirmation.get_commit_characters 2021-09-03 21:35:23 +09:00
hrsh7th
889109cbc0 Implement source specific options 2021-09-03 20:30:40 +09:00
hrsh7th
e867bf233e Experimental: Ghost text (#119)
* Inline suggest experimental

* Fix flicker

* Fix ci fails

* Reduce flicker

* Improve menu functions

* Default false

* README.md

* Add require

* Rename inline_preview to ghost_text
2021-09-03 18:34:10 +09:00
Stephen Brown-Bourne
1ae7b5e250 fix some README grammar (#136) 2021-09-02 15:12:59 +09:00
zootedb0t
a8f62d2364 fixed typo in README (#128)
* fixed typo in README

* fixed typo in README
2021-09-01 15:35:37 +09:00
hrsh7th
2b82bc1a48 Add document for completeopt+=longuest 2021-09-01 13:00:24 +09:00
Brian
a383a1b2e0 fixed supertab example (#117) 2021-08-30 12:15:07 +09:00
hrsh7th
b9ef85d483 Add Programatic API documents 2021-08-29 21:41:50 +09:00
hrsh7th
b29356a176 Update README.md 2021-08-29 21:13:34 +09:00
zootedb0t
4f6b3d0200 fixed typo in README (#112) 2021-08-29 20:17:49 +09:00
hrsh7th
63d3199cfd Add slow down reason 2021-08-29 15:35:04 +09:00
hrsh7th
a339421f4b Fix merge bug 2021-08-29 14:31:24 +09:00
hrsh7th
99de62c1fc Improve README.md 2021-08-29 14:01:51 +09:00
Anas sheashaey
24406f995e Fix typo in README (#104) 2021-08-28 02:34:08 +09:00
hrsh7th
63d6c22431 Add warning for source creators 2021-08-27 21:18:26 +09:00
Andreas Schneider
a46cfc219b README: Allow to use Tab for indentation (#38) 2021-08-27 15:06:34 +09:00
hrsh7th
6b9570920e Update README.md 2021-08-27 12:19:01 +09:00
hrsh7th
b9c494a53e Add documentation for mapping fallbacks 2021-08-27 11:31:50 +09:00
Alex Tylor
a6cfb29a63 Update README to help clarify config and source usage (#92)
* Update to README language/descriptions

* Change pluralismsmsmsmsms :)

Co-authored-by: alex.tylor <atylor@gmail.com>
2021-08-27 11:13:13 +09:00
hrsh7th
6e63fda5b2 Fix example source implementation 2021-08-27 02:04:45 +09:00
hrsh7th
c627f44f81 Update README.md 2021-08-26 18:44:32 +09:00
hrsh7th
f5c0772562 Fix documents bug 2021-08-26 17:10:45 +09:00
hrsh7th
ec3f8aedaf Add completion.get_trigger_characters as configurable option 2021-08-26 16:50:23 +09:00
uga-rosa
698c3c4bf5 Add FAQ for formatting.format (#79)
* Add mapping example to README

* move to FAQ section

* add FAQ for formatting.format

Update README.md

Update README.md
2021-08-26 14:25:30 +09:00
pedro757
39ef1467ba fix: grammar mistake in README (#72) 2021-08-26 00:21:08 +09:00
uga-rosa
d1f7f4f621 Add mapping example to README (#70)
* Add mapping example to README

* move to FAQ section
2021-08-25 21:45:24 +09:00