-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: [windows] searching for "
turns into ^"break^"
#1193
Comments
I noticed that too, this was introduced with the new windows escaping logic in fzf I will look deeper into this when I get a chance. |
@TheLeoP, this is an upstream issue, while I can remove functionality to make this work (do not display regex error messages / silent fail) I'd rather this be addressed properly by the upstream. ref: junegunn/fzf#3789 |
@TheLeoP, updated https://github.com/ibhagwan/fzf-lua/blob/main/README-Win.md, it is recommended to use fzf In the meantime if you wish to remain with :FzfLua live_grep exec_empty_query=true silent_fail=false stderr_to_stdout=false Note that the above will still have oddities (described in junegunn/fzf#3789 (comment)) due to the wrong escape sequence. |
RTFM Checklist
man fzf
/ I am well versed in shell fzfOperating system
Windows 11 23H2
Shell
powershell
Neovim version (
nvim --version
)NVIM v0.10.0-dev-3100+gd3fa88b70
Fzf version (
fzf --version
)0.52.0 (bcda25a)
Output of
:lua print(os.getenv('FZF_DEFAULT_OPTS'))
nil
Is the problem reproducible with
mini.sh
?mini.sh
mini.sh
mini.sh
(not relevant, requires LSP, Windows, etc)Fzf-lua configuration
Describe the bug / steps to reproduce
FzfLua live_grep debug=true
"
into the promptFzfLua
shows that the command being executed isrg --column --line-number --no-heading --color=always --smart-case --max-columns=4096 -e ^"break^"
(the important part being^"break^"
)Note: if a second
"
is typed, the escaping works as expected (i.e., rg searchs for""
by receiving-e ^"\^"\^"^"
)The text was updated successfully, but these errors were encountered: