Similar to issue #387 problems still exist when viewing tabar in vim/neovim when using as manpager or directly calling ":Man cat" or similar. Ctags has support for man directly so from CLI you can generate the appropriate tag files with necessary content if you specifically pass the path to the man file. Inside vim/nvim however the path tagbar searches is not valid resulting in empty tagbar.
NVIM v0.4.4
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/bin/cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/build/neovim/src/build/config -I/build/neovim/src/neovim-0.4.4/src -I/usr/include -I/build/neovim/src/build/src/nvim/auto -I/build/neovim/src/build/include
Compiled by builduser
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info1970-01-01 23:07:12.372360: ToggleWindow called
1970-01-01 23:07:12.372804: OpenWindow called with flags: ''
1970-01-01 23:07:12.373178: Checking for Exuberant Ctags
1970-01-01 23:07:12.373650: EscapeCtagsCmd called
1970-01-01 23:07:12.373746: ctags_bin: ctags
1970-01-01 23:07:12.373836: ctags_args (is a string): --version
1970-01-01 23:07:12.377912: Escaped ctags command: 'ctags' --version
1970-01-01 23:07:12.378143: Executing ctags command: 'ctags' --version
1970-01-01 23:07:12.415552: Executing command: "'/usr/bin/zsh' '-c' ''ctags' --version'"
1970-01-01 23:07:12.415646: Exit code: 0
1970-01-01 23:07:12.416281: Command output:
Universal Ctags 5.9.0(p5.9.20210110.0), Copyright (C) 2015 Universal Ctags Team
Universal Ctags is derived from Exuberant Ctags.
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
Compiled: Jan 15 2021, 00:04:58
URL: https://ctags.io/
Optional compiled features: +wildcards, +regex, +iconv, +option-directory, +xpath, +json, +interactive, +sandbox, +yaml, +packcc
1970-01-01 23:07:12.416355: Exit code: 0
1970-01-01 23:07:12.416428: Checking Exuberant Ctags version
1970-01-01 23:07:12.416479: Found Universal Ctags, assuming compatibility
1970-01-01 23:07:12.416559: Initializing types
1970-01-01 23:07:12.416606: Getting filetypes supported by Exuberant Ctags
1970-01-01 23:07:12.416654: EscapeCtagsCmd called
1970-01-01 23:07:12.416696: ctags_bin: ctags
1970-01-01 23:07:12.416738: ctags_args (is a string): --list-languages
1970-01-01 23:07:12.416861: Escaped ctags command: 'ctags' --list-languages
1970-01-01 23:07:12.416922: Executing ctags command: 'ctags' --list-languages
1970-01-01 23:07:12.426066: Executing command: "'/usr/bin/zsh' '-c' ''ctags' --list-languages'"
1970-01-01 23:07:12.426152: Exit code: 0
1970-01-01 23:07:12.437226: Creating autocommands
1970-01-01 23:07:12.437728: AutoUpdate called [man://cat(1)]
1970-01-01 23:07:12.437854: Vim filetype: 'man', sanitized filetype: 'man'
1970-01-01 23:07:12.437917: Checking if file is valid [man://cat(1)]
1970-01-01 23:07:12.438011: File not readable
1970-01-01 23:07:12.438062: Not a valid file, stopping processing
1970-01-01 23:07:12.464098: AutoUpdate called [/home/xxxx/__Tagbar__.1]
1970-01-01 23:07:12.464193: Still opening window, stopping processing
1970-01-01 23:07:12.464524: InitWindow called with autoclose: 0
1970-01-01 23:07:12.479357: AutoUpdate called [/home/xxxx/__Tagbar__.1]
1970-01-01 23:07:12.479455: In Tagbar window, stopping processing
1970-01-01 23:07:12.481321: Mapping keys
1970-01-01 23:07:12.482068: InitWindow finished
1970-01-01 23:07:12.482131: AutoUpdate called [man://cat(1)]
1970-01-01 23:07:12.482189: Vim filetype: 'man', sanitized filetype: 'man'
1970-01-01 23:07:12.482226: Checking if file is valid [man://cat(1)]
1970-01-01 23:07:12.482269: File not readable
1970-01-01 23:07:12.482299: Not a valid file, stopping processing
1970-01-01 23:07:12.483549: OpenWindow finished
1970-01-01 23:07:12.483596: ToggleWindow finished
1970-01-01 23:07:12.485379: AutoUpdate called [/home/xxxx/__Tagbar__.1]
1970-01-01 23:07:12.485525: In Tagbar window, stopping processing
1970-01-01 23:07:13.766755: ToggleWindow called
1970-01-01 23:07:13.767086: CloseWindow called
1970-01-01 23:07:13.780736: AutoUpdate called [man://cat(1)]
1970-01-01 23:07:13.781288: Vim filetype: 'man', sanitized filetype: 'man'
1970-01-01 23:07:13.781599: Checking if file is valid [man://cat(1)]
1970-01-01 23:07:13.781941: File not readable
1970-01-01 23:07:13.782189: Not a valid file, stopping processing
1970-01-01 23:07:13.782558: goto_win(): wincmd p, 0
1970-01-01 23:07:13.786569: CloseWindow finished
This would be solved by implementing #612. Closing as a duplicate, please subscribe to that issue if you want notifications if/when this is addressed. PRs welcome!
Similar to issue #387 problems still exist when viewing tabar in vim/neovim when using as manpager or directly calling ":Man cat" or similar. Ctags has support for man directly so from CLI you can generate the appropriate tag files with necessary content if you specifically pass the path to the man file. Inside vim/nvim however the path tagbar searches is not valid resulting in empty tagbar.
Similar occurs in current vim.