fix(highlight): allow override (#201)

update envvar parsing from cmdline

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-08-24 20:15:45 -04:00
committed by GitHub
parent a7d3defa3d
commit f99bf767b5
8 changed files with 62 additions and 56 deletions

View File

@@ -74,7 +74,9 @@ M.defaults = {
---Specify the behaviour of avante.nvim
---1. auto_apply_diff_after_generation: Whether to automatically apply diff after LLM response.
--- This would simulate similar behaviour to cursor. Default to false.
---2. auto_set_highlight_group: Whether to automatically set the highlight group for the current line. Default to true.
behaviour = {
auto_set_highlight_group = true,
auto_apply_diff_after_generation = false,
},
highlights = {
@@ -113,9 +115,6 @@ M.defaults = {
align = "center", -- left, center, right for title
rounded = true,
},
prompt = {
prefix = "> ", -- prefix for the prompt
},
},
--- @class AvanteConflictUserConfig
diff = {