File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
lua/tiny-code-action/pickers/buffer_utils Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ require("tiny-code-action").setup({
167
167
hotkeys = true , -- Enable hotkeys for quick selection of actions
168
168
hotkeys_mode = " text_diff_based" , -- Modes for generating hotkeys
169
169
auto_preview = false , -- Enable or disable automatic preview
170
- auto_accept = false , -- Automatically accept the selected action
170
+ auto_accept = false , -- Automatically accept the selected action (with hotkeys)
171
171
position = " cursor" , -- Position of the picker window
172
172
winborder = " single" , -- Border style for picker and preview windows
173
173
keymaps = {
Original file line number Diff line number Diff line change @@ -138,8 +138,6 @@ function M.create_main_window(
138
138
match_hl_kind
139
139
)
140
140
local keymaps = config .picker and config .picker .opts and config .picker .opts .keymaps or {}
141
- local auto_accept = config .picker and config .picker .opts and config .picker .opts .auto_accept
142
- or false
143
141
local preview_key = keymaps .preview or " K"
144
142
local close_keys = keymaps .close or " q"
145
143
local select_keys = keymaps .select or " <CR>"
You can’t perform that action at this time.
0 commit comments