Commit Graph

82 Commits

Author SHA1 Message Date
hrsh7th
bf2b23863a Fix 2021-10-22 18:26:23 +09:00
hrsh7th
e4a2cec153 Implement source group.
Fixes #391
2021-10-22 18:24:03 +09:00
Alex Tylor
b546f50f09 Expose get_selected_entry() from view module to main cmp module fixes #385 (#386)
* Expose get_selected_entry() from view module to main cmp module fixes #385

* add get_active_entry() also

* fix linting

* remove unused vars

Co-authored-by: alex.tylor <atylor@gmail.com>
2021-10-22 17:47:55 +09:00
hrsh7th
0f28030aef Improve macro & dot-repeat support (#363)
* manual support dot-repeat

* cmdwin and terminal

* cmdline only

* Fix

* fix

* Improve

* Fix test

* Support macro

* disable cmdline for now

* Simplify

* fmt

* consume once

* Ignore = type

* cmdline

* Remove cmdline features
2021-10-16 23:37:32 +09:00
hrsh7th
0dcc2eb5d3 Remove C-c mapping 2021-10-16 11:55:47 +09:00
hrsh7th
49acc84853 Add item fields order
Fixes #337
2021-10-12 20:50:05 +09:00
hrsh7th
2f2794decd refactor 2021-10-11 18:38:01 +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
ca77ec6dcc Change default format.deprecated value 2021-09-16 12:54:51 +09:00
hrsh7th
2c92fef040 Advertise a bit 2021-09-14 13:08:04 +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
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
b832719c68 Implement config.confirmation.get_commit_characters 2021-09-03 21:35:23 +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
6cc8b82267 Refactor a bit 2021-09-03 14:15:17 +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
600c6c9cc2 Fix multibyte character problem 2021-08-26 18:08:04 +09:00
hrsh7th
ec3f8aedaf Add completion.get_trigger_characters as configurable option 2021-08-26 16:50:23 +09:00
hrsh7th
6bc0ddb58b Add preselect configuration option 2021-08-25 21:23:54 +09:00
hrsh7th
9bf7dbd871 Change completion.autocomplete default value 2021-08-25 19:00:28 +09:00
hrsh7th
2f0f5f3a91 Add formatting.deprecated option 2021-08-24 22:59:39 +09:00
hrsh7th
5edcf14f0d Update default_behavior 2021-08-23 18:51:43 +09:00
hrsh7th
75b368abb8 Add source.get_debug_name API 2021-08-16 12:15:01 +09:00
hrsh7th
d314313060 Improve menu customize API 2021-08-16 02:36:22 +09:00
hrsh7th
17b0171e9f Add cmp.EventConfig 2021-08-12 19:02:36 +09:00
hrsh7th
c2f872920e Update mapping configuration 2021-08-11 23:30:31 +09:00
hrsh7th
5447f42444 Add documents. 2021-08-11 18:43:22 +09:00
hrsh7th
a11ddccb33 Support documentation window scrolling 2021-08-09 19:34:45 +09:00
hrsh7th
399cee4e24 Change configuration schema 2021-08-05 16:21:07 +09:00
hrsh7th
56d22edbbf Improve matching and sorting on specific cases 2021-08-05 15:21:16 +09:00
hrsh7th
d23d3533cf dev (#1)
* dev

* Improve sync design

* Support buffer local mapping

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* stylua

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* integration

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* update

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp
2021-08-04 01:07:12 +09:00