feat(ui): add config to turn off hints popup (#75)
This commit is contained in:
@@ -82,6 +82,10 @@ M.defaults = {
|
||||
---@type string | fun(): any
|
||||
list_opener = "copen",
|
||||
},
|
||||
--- @class AvanteHintsConfig
|
||||
hints = {
|
||||
enbaled = true,
|
||||
},
|
||||
}
|
||||
|
||||
---@type avante.Config
|
||||
@@ -92,6 +96,10 @@ M.options = {}
|
||||
---@field highlights AvanteConflictHighlights
|
||||
M.diff = {}
|
||||
|
||||
---@class AvanteHintsConfig
|
||||
---@field enabled boolean
|
||||
M.hints = {}
|
||||
|
||||
---@param opts? avante.Config
|
||||
function M.setup(opts)
|
||||
M.options = vim.tbl_deep_extend("force", M.defaults, opts or {})
|
||||
|
||||
Reference in New Issue
Block a user