Closed faxm0dem closed 3 years ago
hmm this potentially looks good. I'm trying to test before/after to make sure that I see that it's actually fixing things but I'm somewhat clueless as to how to use ctags with the file provided by the vim plugin.
how do you generate tags using this file? do you have to symlink your ~/.ctags
to ~/.vim/bundle/vim-puppet/ctags/puppet.ctags
or is it supposed to "just work" without any finagling?
currently before and after this patch is applied I get E426: tag not found: ::some::class
when hitting ctrl-[
on the name of the class in a line like include ::some::class
@Felixoid @davewongillies Since you worked previously on ctags support, you might have a better clue than I do on this subject. is this PR fixing the tag issue for classes that start with ::
for you?
I just copy the file to my ~/.ctags
and the run ctags -R .
in my project
@lelutin did you re-run ctags -R .
in your project?
I don't use Exuberant Ctags
, but Universal Ctags
, so that's my setup:
>±> readlink ~/.ctags.d/puppet_u.ctags
../tag-vim/vim/plugged/vim-puppet/ctags/puppet_u.ctags
I will go ahead and merge this since I haven't gotten around to testing ctags yet. I'll trust that other folks who interacted with this issue may have said something too if there was a problem with the change.
this makes the following work as expected:
Fixes #122