Create ctags compatible tags files for Haskell programs
Haskell
81
15 commits
updated Dec 23, 2017
Create ctags compatible tags files for Haskell programs
Similar programs are hasktags, gasbag, hothasktags, and GHC's builtin ctags generation.
lushtags differs from these by being designed to have smooth integration with the Vim Tagbar plugin.
Tagbar is nice because it deals with creating tags automatically. There is no need to manually run commands or keep track of tag files. Just open any Haskell file in Vim and the Tagbar window will instantly show an interactive browsable list of all the functions and declarations in the file. This window also updates automatically as you edit the file.
The tags created by lushtags are marked with several extensions, so that when used with Tagbar you get these features:

Build and install the lushtags executable
Using cabal:
$ cabal configure
$ cabal build
$ cabal install
Using stack:
$ stack build
$ stack install
Install the Tagbar plugin. Tagbar can be found at
http://www.vim.org/scripts/script.php?script_id=3465
http://majutsushi.github.com/tagbar/
Install the included Haskell Tagbar configuration:
$ cp plugin/tagbar-haskell.vim ~/.vim/plugin/
Try it out:
$ vim Hello.hs
Now open the Tagbar with the command :TagbarOpen. An interactive sidebar will
appear with all of the tags in your Haskell source file.
Haskell
91.4%
Vim Script
8.6%
Create ctags compatible tags files for Haskell programs
Haskell
81
15 commits
updated Dec 23, 2017
Create ctags compatible tags files for Haskell programs
Similar programs are hasktags, gasbag, hothasktags, and GHC's builtin ctags generation.
lushtags differs from these by being designed to have smooth integration with the Vim Tagbar plugin.
Tagbar is nice because it deals with creating tags automatically. There is no need to manually run commands or keep track of tag files. Just open any Haskell file in Vim and the Tagbar window will instantly show an interactive browsable list of all the functions and declarations in the file. This window also updates automatically as you edit the file.
The tags created by lushtags are marked with several extensions, so that when used with Tagbar you get these features:

Build and install the lushtags executable
Using cabal:
$ cabal configure
$ cabal build
$ cabal install
Using stack:
$ stack build
$ stack install
Install the Tagbar plugin. Tagbar can be found at
http://www.vim.org/scripts/script.php?script_id=3465
http://majutsushi.github.com/tagbar/
Install the included Haskell Tagbar configuration:
$ cp plugin/tagbar-haskell.vim ~/.vim/plugin/
Try it out:
$ vim Hello.hs
Now open the Tagbar with the command :TagbarOpen. An interactive sidebar will
appear with all of the tags in your Haskell source file.
Haskell
91.4%
Vim Script
8.6%