refactor(history): use XDG_DATA_STATE as source dir (#209)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-08-25 03:12:53 -04:00
committed by GitHub
parent ee88563215
commit 3f906e5289
4 changed files with 58 additions and 54 deletions

View File

@@ -79,6 +79,9 @@ M.defaults = {
auto_set_highlight_group = true,
auto_apply_diff_after_generation = false,
},
history = {
storage_path = vim.fn.stdpath("state") .. "/avante",
},
highlights = {
---@type AvanteConflictHighlights
diff = {