liuchengxu / vista.vim

:cactus: Viewer & Finder for LSP symbols and tags
https://liuchengxu.github.io/vista.vim
MIT License
1.88k stars 89 forks source link

Boost project wise ctags finder via ptags #40

Closed liuchengxu closed 4 years ago

liuchengxu commented 5 years ago

https://github.com/dalance/ptags

djtal commented 5 years ago

I've tried setting up g: vista_ctags_executable to ptags but seem to have broke vista tag view. Don't know how to play with that.

liuchengxu commented 5 years ago

I think vista.vim is supposed to be able to work with ptags if only you provide the right ctags options for ptags, but I haven't looked into this feature yet. What's more, I rarely search tags project wise, so this is low priority. If you are willing to help, I suggest you first try in the command line, making sure the ptags and ctags command gives you the same output, then play with g:vista_ctags_cmd since g:vista_ctags_executable passes nothing but the executable name while I believe some extra options for ptags has be to added.

littletiny commented 5 years ago

It seems to gtags also break tag view.

liuchengxu commented 5 years ago

@littletiny I don't think gtags has an option to print the output to STDOUT. Hence gtags is not supported at the moment. vista.vim does not handle the process of tags file, all operations are in memory.