feat: implement user-defined text shortcuts (#2512)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
This commit is contained in:
@@ -521,3 +521,9 @@ vim.g.avante_login = vim.g.avante_login
|
||||
---@alias AvanteMentions "codebase" | "diagnostics" | "file" | "quickfix" | "buffers"
|
||||
---@alias AvanteMentionCallback fun(args: string, cb?: fun(args: string): nil): nil
|
||||
---@alias AvanteMention {description: string, command: AvanteMentions, details: string, shorthelp?: string, callback?: AvanteMentionCallback}
|
||||
|
||||
---@class AvanteShortcut
|
||||
---@field name string
|
||||
---@field details string
|
||||
---@field description string
|
||||
---@field prompt string
|
||||
|
||||
Reference in New Issue
Block a user