Commit Graph

67 Commits

Author SHA1 Message Date
hrsh7th
30ed4e43a6 Use <C-g> correctly 2021-10-12 01:53:27 +09:00
hrsh7th
2f2794decd refactor 2021-10-11 18:38:01 +09:00
hrsh7th
d8e6a865e4 Use instead of 2021-10-11 00:43:53 +09:00
hrsh7th
20aa77b492 format&lint 2021-10-10 14:04:39 +09:00
hrsh7th
0a31d67219 Lazy buffer creation 2021-10-10 13:57:37 +09:00
hrsh7th
d901dae302 Fix #296 2021-10-10 13:13:25 +09:00
hrsh7th
b16663f780 Improve 2021-10-10 12:50:35 +09:00
hrsh7th
370e6ff076 Use nvim_win_hide instead o nvim_win_close for supporting custom menu on cmdwin 2021-10-10 12:23:39 +09:00
hrsh7th
babb8023c6 Add cmp.visible 2021-10-10 12:13:57 +09:00
hrsh7th
2ebdccf61a Fix #306
Fix #296
Fix #293
Fix #291
2021-10-10 11:54:30 +09:00
hrsh7th
883eee5bbc Use <C-h> and support cmdwin 2021-10-10 00:01:15 +09:00
Hexin
12a24c0eb3 Check whether option exists (#301) 2021-10-09 15:18:18 +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
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
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
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
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
e46ae3b62e Add keymap tests 2021-09-13 12:49:58 +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
a50688066b Fix #185 2021-09-09 18:15:56 +09:00
hrsh7th
1130da0aeb Support <C-r>= and <Cmd> 2021-09-09 17:21:44 +09:00
hrsh7th
ff55c1bbca Improve key handling 2021-09-09 15:37:32 +09:00
hrsh7th
f49685d3dd Fix #177 2021-09-08 20:26:22 +09:00
hrsh7th
8f559af081 Support vim-endwise 2021-09-08 19:25:02 +09:00
hrsh7th
5551dfab17 Improve completion invoking 2021-09-08 12:59:49 +09:00
hrsh7th
1481552c26 true as table 2021-09-07 15:58:11 +09:00
hrsh7th
972ff27325 Don't save macro 2021-09-04 02:38:36 +09:00
hrsh7th
6cc8b82267 Refactor a bit 2021-09-03 14:15:17 +09:00
hrsh7th
4fbe8c2e49 Fix CI 2021-09-03 13:47:55 +09:00
hrsh7th
2b48c15ca0 Reduce flicker if not macro recording 2021-09-03 13:43:29 +09:00
hrsh7th
4f14279408 Support macro 2021-09-03 11:51:27 +09:00
hrsh7th
cf70aafdba Remove hacky code (Fixes #132) 2021-09-02 14:09:35 +09:00
hrsh7th
98124321fe Fix #129 (experimental) 2021-09-01 20:11:17 +09:00
hrsh7th
684d862526 We treat false as empty table if the default value is table 2021-08-29 21:33:45 +09:00
hrsh7th
a339421f4b Fix merge bug 2021-08-29 14:31:24 +09:00
hrsh7th
bc50c49a7f Revert abbreviation support 2021-08-28 02:24:31 +09:00
hrsh7th
5827dc9011 Support abbreviation 2021-08-28 01:56:35 +09:00
hrsh7th
1851fad7fc Fix failing tests 2021-08-27 23:26:54 +09:00
hrsh7th
405581e740 Fix invalid temporary text 2021-08-27 23:06:35 +09:00