feat: add windows.ask.focus_on_apply config option (#779)

This commit is contained in:
Maddison Hellstrom
2024-11-02 03:33:08 -07:00
committed by GitHub
parent 1aa8b03f00
commit 8e8f2c15ab
3 changed files with 5 additions and 1 deletions

View File

@@ -270,6 +270,8 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
floating = false, -- Open the 'AvanteAsk' prompt in a floating window
start_insert = true, -- Start insert mode when opening the ask window, only effective if floating = true.
border = "rounded",
---@type "ours" | "theirs"
focus_on_apply = "ours", -- which diff to focus after applying
},
},
highlights = {