feat: minimal diff (#583)

* Add minimize_diff option and add dummy function

* fix: minimize snippets

---------

Co-authored-by: yetone <yetoneful@gmail.com>
This commit is contained in:
Will Lynas
2024-11-21 08:16:32 +00:00
committed by GitHub
parent 2863473bbf
commit 341ecd2073
3 changed files with 60 additions and 0 deletions

View File

@@ -231,6 +231,7 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
auto_set_keymaps = true,
auto_apply_diff_after_generation = false,
support_paste_from_clipboard = false,
minimize_diff = true, -- Whether to remove unchanged lines when applying a code block
},
mappings = {
--- @class AvanteConflictMappings