add check for current setting

This commit is contained in:
jkub6
2022-07-22 11:14:18 -06:00
parent d7d7c70964
commit 5422b74fd8

View File

@@ -41,7 +41,7 @@ local function command_find_all_tags(opts)
}
-- PCRE engine allows to remove hex color codes from #hastags
if opts.rg_pcre then
if opts.rg_pcre and (re == hashtag_re) then
re = hashtag_re_pcre
rg_args = {