Skip to content

Commit 7de4312

Browse files
committed
fix: use tmux completion only to paths like ./ / and do not read history - f.e. 2h logs in pane history can kill your completion system
1 parent e5a293f commit 7de4312

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

lua/plugins/config/blink.lua

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,14 +182,12 @@ M.config = function()
182182
score_offset = score_offset['tmux'] or 0,
183183
module = "blink-cmp-tmux",
184184
name = "tmux",
185-
-- default options
185+
-- stay lean when panes are full of logs
186186
opts = {
187187
all_panes = true,
188-
capture_history = true,
189-
-- only suggest completions from `tmux` if the `trigger_chars` are
190-
-- used
191-
triggered_only = false,
192-
trigger_chars = { "." }
188+
capture_history = false,
189+
triggered_only = true,
190+
trigger_chars = { ".", "/" },
193191
},
194192
},
195193
env = {

0 commit comments

Comments
 (0)