How to install tagbar on NeoVim

Tagbar

The Tagbar dependent on Exuberant Ctags 5.5 or Universal Ctags.
So ArchLinux user needs install package to use Tagbar.

You can install Universal Ctags from AUR.
universal-ctags-git

$ yaourt -S universal-ctags-git

Another way, AUR has neovim-tagbar package, you can use tagbar too.
neovim-tagbar

$ yaourt -S neovim-tagbar

Please, add bellow code in init.vim which is adding package with dein.vim.

call dein#add('majutsushi/tagbar')

For JavaScript

But, tagbar didn’t work JavaScript file.
If you wanna setting for JavaScript, install tagbar-javascript.vim.

tagbar-javascript.vim

call dein#add('hushicai/tagbar-javascript.vim')

Tagbar-javascript.vim dependent on estags, so please install esctags npm package.

$ sudo npm install -g esctags

関連記事