Commit Graph

111 Commits

Author SHA1 Message Date
hrsh7th
cc21a61910 Fix timing problem for some of the snippet engine
Fixes #236
2021-09-24 16:35:28 +09:00
hrsh7th
13e8b61371 Fix keymap bug 2021-09-19 13:40:27 +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
hrsh7th
620eea94d3 Fix feeding autoindent keys 2021-09-16 15:53:48 +09:00
hrsh7th
c2e7736260 Fix #204 2021-09-16 12:49:52 +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
445179dca8 Fix #191 2021-09-14 03:15:18 +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
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
1cec1ecb31 Fix #188 2021-09-12 20:15:31 +09:00
hrsh7th
29679d493b Remove waiting source for filtering 2021-09-09 10:55:20 +09:00
haze
201fa80452 Add combine hl_mode to ghost_text virtual text (#182) 2021-09-08 23:55:55 +09:00
hrsh7th
8f559af081 Support vim-endwise 2021-09-08 19:25:02 +09:00
hrsh7th
fa031530ed Add THROTTLE_TIME constant 2021-09-08 13:07:30 +09:00
hrsh7th
5551dfab17 Improve completion invoking 2021-09-08 12:59:49 +09:00
hrsh7th
b6b15d5f6e Add experimental.ghost_text.hl_group 2021-09-07 01:38:49 +09:00
hrsh7th
b832719c68 Implement config.confirmation.get_commit_characters 2021-09-03 21:35:23 +09:00
hrsh7th
675a72e2e8 Check configuration 2021-09-03 21:29:53 +09:00
hrsh7th
62a6a6c063 Don't use nvim_set_decoration_provider for now 2021-09-03 21:29:13 +09:00
hrsh7th
157390d2c1 Invoke redraw if pum is beeing visible 2021-09-03 20:40:19 +09:00
hrsh7th
45b96b212c Fix format 2021-09-03 20:12:28 +09:00
hrsh7th
dffe375b4a Use virtcol for virt_text_win_col 2021-09-03 19:50:19 +09:00
hrsh7th
e599f0825c Remove manual dup filter 2021-09-03 19:05:24 +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
hrsh7th
4f14279408 Support macro 2021-09-03 11:51:27 +09:00
hrsh7th
98124321fe Fix #129 (experimental) 2021-09-01 20:11:17 +09:00
hrsh7th
f32b80c0a6 Fix #120 2021-08-30 18:48:06 +09:00
hrsh7th
3a612d425a Fix snippet expansion 2021-08-30 00:53:09 +09:00
hrsh7th
25a4d9c0be Fix multiple setup.buffer 2021-08-29 22:23:54 +09:00
hrsh7th
7572522a01 Fix snippet expansion 2021-08-28 02:23:24 +09:00
hrsh7th
ce431bc6f9 Fix snippet expansion 2021-08-28 00:08:25 +09:00
hrsh7th
61984efaf0 Improve scheduling 2021-08-27 21:34:34 +09:00
hrsh7th
600c6c9cc2 Fix multibyte character problem 2021-08-26 18:08:04 +09:00
hrsh7th
5df8233081 Fix #68 2021-08-25 19:02:37 +09:00
hrsh7th
3862af1474 Fix #52 2021-08-25 03:21:18 +09:00
hrsh7th
c0fcdd9c61 Improve API stability 2021-08-24 22:43:02 +09:00
hrsh7th
f12fd73f11 The action can be function or table...(I want to normalize it...Hm...) 2021-08-17 23:51:56 +09:00
hrsh7th
24158a72b2 Fix duplicate setup 2021-08-17 23:28:13 +09:00
hrsh7th
d56bf1d506 Fix #29, #21 2021-08-17 00:57:57 +09:00
hrsh7th
17b0171e9f Add cmp.EventConfig 2021-08-12 19:02:36 +09:00
hrsh7th
22f8ce1bd5 Improve mappings 2021-08-12 16:17:26 +09:00
hrsh7th
c2f872920e Update mapping configuration 2021-08-11 23:30:31 +09:00
hrsh7th
ab616ffe88 Add source:is_available API 2021-08-11 21:37:55 +09:00
hrsh7th
59a6ee577a Add test 2021-08-10 21:56:42 +09:00
hrsh7th
35d04be45e Improve keymap handling 2021-08-10 00:03:34 +09:00
hrsh7th
08797d9645 Fix word insersion (it should be re-checked) 2021-08-09 21:12:25 +09:00