chore(config): customize prompt prefix (#271)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
parent
64f2c54822
commit
36446a24e3
@ -20,7 +20,7 @@ M.defaults = {
|
|||||||
max_tokens = 4096,
|
max_tokens = 4096,
|
||||||
["local"] = false,
|
["local"] = false,
|
||||||
},
|
},
|
||||||
---@type AvanteCopilotProvider
|
---@type AvanteSupportedProvider
|
||||||
copilot = {
|
copilot = {
|
||||||
endpoint = "https://api.githubcopilot.com",
|
endpoint = "https://api.githubcopilot.com",
|
||||||
model = "gpt-4o-2024-05-13",
|
model = "gpt-4o-2024-05-13",
|
||||||
@ -122,6 +122,9 @@ M.defaults = {
|
|||||||
align = "center", -- left, center, right for title
|
align = "center", -- left, center, right for title
|
||||||
rounded = true,
|
rounded = true,
|
||||||
},
|
},
|
||||||
|
input = {
|
||||||
|
prefix = "> ",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
--- @class AvanteConflictUserConfig
|
--- @class AvanteConflictUserConfig
|
||||||
diff = {
|
diff = {
|
||||||
|
@ -65,7 +65,7 @@ H.keymaps = function()
|
|||||||
end
|
end
|
||||||
|
|
||||||
H.signs = function()
|
H.signs = function()
|
||||||
vim.fn.sign_define("AvanteInputPromptSign", { text = "> " })
|
vim.fn.sign_define("AvanteInputPromptSign", { text = Config.windows.input.prefix })
|
||||||
end
|
end
|
||||||
|
|
||||||
H.augroup = api.nvim_create_augroup("avante_autocmds", { clear = true })
|
H.augroup = api.nvim_create_augroup("avante_autocmds", { clear = true })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user