We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a755aba commit 7b3a739Copy full SHA for 7b3a739
1 file changed
lua/fzf-lua/utils.lua
@@ -249,7 +249,7 @@ end
249
function M.regex_to_magic(str)
250
-- Convert regex to "very magic" pattern, basically a regex
251
-- with special meaning for "%=&<>~", `:help /magic`
252
- return [[\v]] .. str:gsub("([%%=&<>])", [[\%1]])
+ return [[\v\C]] .. str:gsub("([%%=&<>])", [[\%1]])
253
-- searching for @ in very magic needs [@]
254
:gsub("([@])", "[%1]")
255
end
0 commit comments