Add basic recently_used comparator

This commit is contained in:
hrsh7th
2021-10-29 18:46:51 +09:00
parent a6412e590c
commit 3945dc5d00
4 changed files with 41 additions and 31 deletions

View File

@@ -360,6 +360,7 @@ Default:
cmp.config.compare.offset,
cmp.config.compare.exact,
cmp.config.compare.score,
cmp.config.compare.recently_used,
cmp.config.compare.kind,
cmp.config.compare.sort_text,
cmp.config.compare.length,
@@ -478,6 +479,10 @@ Subscribe the following events.
- `confirm_done`
#### `cmp.get_config()`
Return the current configuration.
#### `cmp.visible()`
Return the completion menu is visible or not.