Commit Graph

410 Commits

Author SHA1 Message Date
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
hrsh7th
1cec1ecb31 Fix #188 2021-09-12 20:15:31 +09:00
hituzi no sippo
a58712bf16 fix StyLua command (#190)
* style: fix StyLua glob pattern

* style: fix style with StyLua

run './utils/stylua --config-path stylua.toml --glob 'lua/**/*.lua' -- lua'
2021-09-11 20:18:44 +09:00
hrsh7th
8fb4ee1075 Support macro with commit characters 2021-09-10 03:23:52 +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
hrsh7th
a50688066b Fix #185 2021-09-09 18:15:56 +09:00
hrsh7th
bfda45f0d7 format 2021-09-09 17:55:38 +09:00