i use vim's native package manager, and i have direnv.vim added as a submodule in my dotfiles under $HOME/.config/vim/pack/plugin/start/direnv.
when i run :helptags ALL to generate tags for my custom plugins, the direnv.vim directory is dirty because of the generated tags file.
for example, running a git status in my main dotfiles looks like:
On branch main
Your branch is ahead of 'origin/main' by 1 commit.
(use "git push" to publish your local commits)
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: pack/plugin/start/direnv.vim (untracked content)
no changes added to commit (use "git add" and/or "git commit -a")
and the direnv.vim folder looks like:
HEAD detached at ab2a7e0
Untracked files:
(use "git add <file>..." to include in what will be committed)
doc/tags
nothing added to commit but untracked files present (use "git add" to track)
it looks like other plugins like vim-fugitive has a gitignore specifically ignoring the tag
i use vim's native package manager, and i have direnv.vim added as a submodule in my dotfiles under
$HOME/.config/vim/pack/plugin/start/direnv.when i run
:helptags ALLto generate tags for my custom plugins, thedirenv.vimdirectory is dirty because of the generated tags file.for example, running a
git statusin my main dotfiles looks like:and the
direnv.vimfolder looks like:it looks like other plugins like vim-fugitive has a gitignore specifically ignoring the tag