yuki-yano / fzf-preview.vim

The plugin that powerfully integrates fzf and (Neo)vim. It is also possible to integrate with coc.nvim.
MIT License
909 stars 37 forks source link

Use of ctags is hard coded as a constant #302

Open rbpatt2019 opened 2 years ago

rbpatt2019 commented 2 years ago

Problems summary

The default installation of ctags on my Mac is ancient, so I've installed universal ctags and would prefer to use that for tag generation. However, it seems that the buffer_tags_command is hardcoded as a constant and can't be overridden.

Expected

I should be able to specify using uctags instead of ctags.

Environment Information

rbpatt2019 commented 2 years ago

Since I use MacPorts, I worked around this by moving /opt/local/bin to the front of my path and then symlinking /opt/local/bin/ctags to /opt/local/bin/uctags. Still, feels like the option to specify the command shouldn't be hard coded, particularly since the default flags require uctags and that is not always installed as the (assumed) Ctags binary.