feat: override timeoutlen while hovering over diff (#781)

This commit is contained in:
Maddison Hellstrom
2024-11-02 03:31:54 -07:00
committed by GitHub
parent f8d80d87c5
commit 19ab7d51d5
3 changed files with 31 additions and 4 deletions

View File

@@ -284,6 +284,10 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
autojump = true,
---@type string | fun(): any
list_opener = "copen",
--- Override the 'timeoutlen' setting while hovering over a diff (see :help timeoutlen).
--- Helps to avoid entering operator-pending mode with diff mappings starting with `c`.
--- Disable by setting to -1.
override_timeoutlen = 500,
},
}
```