Closed haoxianhan closed 2 years ago
Hi @haoxianhan,
Thank you for your contribution.
I modified your commit: https://github.com/hcs42/vim-erlang-tags/commits/build_dir_priority
_build
directory was (because of the string:prefix
call). The modified commit recognizes _build
directories even if you are not in its parent directory.string:prefix
with re:run
is that string:prefix
was introduced in OTP 20, and I would like to keep vim-erlang working with older Erlang versions. (E.g., it even works on OTP R16B03.)Could you test the modified commit?
Out of curiosity: do you use Windows?
wow, my pleasure, I would test this branch these days. I use is archlinux for my dev environment, ssh remote by win10.
I use the build_dir_priority
branch for few days, it works fine.
Furthermore, I've compared the build_dir_priority
's tags to my hotfix
's, build_dir_priority
's more appropriate.
I merged the commits.
if
_build
dir is exist, other such asapps
tags' priority would less-than_build
's, but it don't want to jump_build
in general, so hard code_build
priority to be lower. it's hotfix for me, clean up the code if necessary.