Skip to content

Mixed relative and absolute paths #70

@blueyed

Description

@blueyed

I've noticed that a full update (GutentagsUpdate!) would use relative filenames, but a partial update for the current file (GutentagsUpdate) absolute ones.
This causes Vim (Neovim) then to display the tag selection with :tj, because the path differs.
Can you confirm this?

I am using universal-ctags, and reported the issue there in a pull request, which fixes this when using --tag-relative=yes: universal-ctags/ctags#868.
Since the code in this area appears to date back to the early days of ctags, I assume that this affects gutentags in general?!

A fix might be to make UPDATED_SOURCE local to the tags file?!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions