kaktree
kaktree copied to clipboard
Error message when toggling show_hidden_files
Problem description
Error message when toggling show_hidden_files with h or set-option. It works, but an error message is printed into *debug*
plug "andreyorst/kaktree" config %{
hook global WinSetOption filetype=kaktree %{
remove-highlighter window/number-lines
map window normal l ''
}
kaktree-enable
kaktree-toggle
nop %sh{
tmux select-pane -R
}
set-option global kaktree_show_hidden false
}
Steps to reproduce
- Press 'h' in kaktree window
What should happen
No error message should be triggered
What happens instead
In *debug* buffer:
error running command 'evaluate-commands -client %opt{kaktreeclient} %{ select }
': 1:1: 'evaluate-commands': 1:2: 'select': wrong argument count
My guess is that the variable fed to select is empty, which gets handled as an absence of argument without proper quoting
Environment information
Kakoune v2021.11.08 Calculate linux zsh 5.8 (x86_64-pc-linux-gnu)