In nix building the plugin with pkgs.vimUtils.buildVimPlugin fails because of duplicated tags in the docs:
> Executing vimPluginGenTags
> Building help tags
> Error detected while processing command line:
> E154: Duplicate tag ":VGit" in file /nix/store/7c8911a675bw7h6j5rmd87q13g50w6kl-vimplugin-vgit/./doc/vgit.txt
> E154: Duplicate tag ":VGit" in file /nix/store/7c8911a675bw7h6j5rmd87q13g50w6kl-vimplugin-vgit/./doc/vgit.txtFailed to build help tags!
I was able to overcome this with a patch that removes the repeated tags at the bottom of the docs file:
diff --git a/doc/vgit.txt b/doc/vgit.txt
index 411056b..8dbb233 100644
--- a/doc/vgit.txt
+++ b/doc/vgit.txt
@@ -419,7 +419,6 @@ toggle_tracing() *vgit.toggle_tracing()
==============================================================================
COMMAND *vgit-navigation*
- *:VGit*
Any VGit preview that contains changes with highlights is navigatable,
enhancing your git workflow drastically. Please refer to |hunk_up| and
|hunk_down| mapping these functions to "<C-j>" and "<C-k>" is a personal
@@ -429,7 +428,6 @@ with a diff will also enable hunk navigations.
==============================================================================
COMMAND *vgit-diff-preference*
- *:VGit*
Any VGit preview with a diff can be seen visually in two different ways,
unified and split. Users can switch between these two styles anytime using
|toggle_diff_preference|.
I don't open PR because I am not sure if you want to keep it removed or replace it with something else.
nvim --version output:
NVIM v0.8.3
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by nixbld
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "
/nix/store/cm208hvfg4nyrrvmf8424dda0mg6iiaw-neovim-unwrapped-master/share/nvim
"
Run :checkhealth for more info
- Operating system:
Linux yueix 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 GNU/Linux
Description
In nix building the plugin with
pkgs.vimUtils.buildVimPlugin
fails because of duplicated tags in the docs:I was able to overcome this with a patch that removes the repeated tags at the bottom of the docs file:
I don't open PR because I am not sure if you want to keep it removed or replace it with something else.
Features: +acl +iconv +tui See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: " /nix/store/cm208hvfg4nyrrvmf8424dda0mg6iiaw-neovim-unwrapped-master/share/nvim "
Run :checkhealth for more info
Linux yueix 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 GNU/Linux