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
hrsh7th
97a639a060
Fix #217
2021-09-18 00:29:34 +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
620eea94d3
Fix feeding autoindent keys
2021-09-16 15:53:48 +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
hrsh7th
c2e7736260
Fix #204
2021-09-16 12:49:52 +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
a7359d76c6
Format/Lint
2021-09-14 15:01:01 +09:00
tzachar
13d4989c38
Rework #195 ( #196 )
...
* Slight complexity reduction
Do not loop twice over sources table, instead keep a table mapping names
to sources
* Update lua/cmp/core.lua
Co-authored-by: hrsh7th <hrsh7th@gmail.com >
* Fix multiple sources per name
* fix as suggested
Co-authored-by: hrsh7th <hrsh7th@gmail.com >
2021-09-14 14:58:54 +09:00
hrsh7th
2c92fef040
Advertise a bit
2021-09-14 13:08:04 +09:00
hrsh7th
445179dca8
Fix #191
2021-09-14 03:15:18 +09:00
hrsh7th
a212356641
Fix macro again
2021-09-14 03:12:39 +09:00
hrsh7th
6fa1e70b48
Fix macro
2021-09-14 01:52:59 +09:00
hrsh7th
44ffee0e0c
Add Vim script API docs
2021-09-14 01:29:02 +09:00
hrsh7th
03f121fa23
Improve vim source
2021-09-14 01:16:49 +09:00
hrsh7th
6173796b2b
Support Vim script plugins
2021-09-13 23:57:59 +09:00
tzachar
65b759cdab
Slight complexity reduction ( #195 )
...
* Slight complexity reduction
Do not loop twice over sources table, instead keep a table mapping names
to sources
* Update lua/cmp/core.lua
Co-authored-by: hrsh7th <hrsh7th@gmail.com >
Co-authored-by: hrsh7th <hrsh7th@gmail.com >
2021-09-13 23:03:25 +09:00
hrsh7th
dc0bbfe10b
Improve resolve confirm
2021-09-13 19:09:45 +09:00
hrsh7th
71b9ebd019
Hijack agressively
2021-09-13 17:55:38 +09:00
hrsh7th
f7b4277c99
Format
2021-09-13 16:45:17 +09:00
hrsh7th
f3af9e2ee6
Refactor keymap
2021-09-13 16:43:23 +09:00
hrsh7th
af73e87fd8
We should adopt InsertLeave event
2021-09-13 13:58:04 +09:00
hrsh7th
e46ae3b62e
Add keymap tests
2021-09-13 12:49:58 +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