Yggdroot / LeaderF

An efficient fuzzy finder that helps to locate files, buffers, mrus, gtags, etc. on the fly for both vim and neovim.
Apache License 2.0
2.14k stars 180 forks source link

g:Lf_Rg配置似乎不生效 #1054

Closed NasdaqGodzilla closed 7 months ago

NasdaqGodzilla commented 7 months ago

Describe your question, feature request, or bug.

设置g:Lf_Rg后,没有生效,仍然使用默认的rg命令。在vim内部:echo g:Lf_Rg确认已经设置成功了

Yggdroot commented 7 months ago

怎么知道没生效?

NasdaqGodzilla commented 7 months ago

怎么知道没生效?

我使用如下配置后,重新打开vim窗口并执行:PlugInstall,调用Rg搜索仍然能正常搜索,预期应该是无法搜索的。 let g:Lf_Rg = 'ls'

NasdaqGodzilla commented 7 months ago

经过排查发现,“调用Rg搜索”,实际上调用的不是LeaderF,而是fzf,不是问题