chore(config): customize prompt prefix (#271)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham 2024-08-27 03:44:05 -04:00 committed by GitHub
parent 64f2c54822
commit 36446a24e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -20,7 +20,7 @@ M.defaults = {
max_tokens = 4096,
["local"] = false,
},
---@type AvanteCopilotProvider
---@type AvanteSupportedProvider
copilot = {
endpoint = "https://api.githubcopilot.com",
model = "gpt-4o-2024-05-13",
@ -122,6 +122,9 @@ M.defaults = {
align = "center", -- left, center, right for title
rounded = true,
},
input = {
prefix = "> ",
},
},
--- @class AvanteConflictUserConfig
diff = {

View File

@ -65,7 +65,7 @@ H.keymaps = function()
end
H.signs = function()
vim.fn.sign_define("AvanteInputPromptSign", { text = "> " })
vim.fn.sign_define("AvanteInputPromptSign", { text = Config.windows.input.prefix })
end
H.augroup = api.nvim_create_augroup("avante_autocmds", { clear = true })