With notagrelative, :Tags tries to open wrong file
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 10.3k
- Forks
- 608
- Avg merge
- 5d 8h
- Merged PRs (30d)
- 2
Description
- Category
- Question
- Bug
- Suggestion
- OS
- Linux
- macOS
- Windows
- Etc.
- Vim
- Vim
- Neovim
I have set notagrelative because I keep my tags file in the .git folder of my project as described here.
When I navigate to a tag with :Tags, it tries to open .git/src/my-file instead of src/my-file.
If I change this line to let abspath = relpath, it works again. (Obviously that's not a good solution.)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at autoload/fzf/vim.vim line 804 and reproduce the :Tags navigation with set notagrelative and a tags file under .git. Compare the resolved path with the expected project-relative path, then verify that navigation opens src/my-file rather than .git/src/my-file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100