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
This commit is contained in:
@@ -57,6 +57,7 @@ cmp.PreselectMode.None = 'none'
|
||||
---@field public event cmp.EventConfig
|
||||
---@field public mapping table<string, fun(core: cmp.Core, fallback: function)>
|
||||
---@field public sources cmp.SourceConfig[]
|
||||
---@field public experimental cmp.ExperimentalConfig
|
||||
|
||||
---@class cmp.CompletionConfig
|
||||
---@field public autocomplete cmp.TriggerEvent[]
|
||||
@@ -88,6 +89,9 @@ cmp.PreselectMode.None = 'none'
|
||||
---@class cmp.EventConfig
|
||||
---@field on_confirm_done function(e: cmp.Entry)
|
||||
|
||||
---@class cmp.ExperimentalConfig
|
||||
---@field public ghost_text boolean
|
||||
|
||||
---@class cmp.SourceConfig
|
||||
---@field public name string
|
||||
---@field public opts table
|
||||
|
||||
Reference in New Issue
Block a user