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

Leaderf function 对 ini 文件显示 section 即可 #1061

Closed skywind3000 closed 4 months ago

skywind3000 commented 4 months ago

图片

目前 leaderf function 对 ini 文件是每行都显示出来了,已经起不到 function 的作用,我在 Leaderf function 里跳转,和原 buffer 里跳转没有任何区别,最好改成只显示 section 的,这样效率高点:

需要在 functionExpl.py 的 self._ctags_options 字典里加两行:

"dosini": "--iniconf-kinds=s --language-force=iniconf",
"taskini": "--iniconf-kinds=s --language-force=iniconf",

即可。