Skip to content

Fzf-lua grep ... can be made case insensitive but not the preview window (the hl of the matched word) #1563

Answered by ibhagwan
1ngemar asked this question in Q&A
Discussion options

You must be logged in to vote

The highlight is performed via a vim.regex:match_line I'm not sure if there's a magic character equiavlent to rg's smart case, if there is I'd be happy to add it.

Otherwise it would mean i would have to modify the regex to h -> [Hh] depending if the --smart-case flag is found, too prone to errors to be worth the effort IMHO.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ibhagwan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants