/
hothasktags.cabal
36 lines (30 loc) · 1.27 KB
/
hothasktags.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: hothasktags
version: 0.2.0
cabal-version: >= 1.6 && < 2
build-type: Simple
author: Luke Palmer <lrpalmer@gmail.com>
license: BSD3
maintainer: Luke Palmer <lrpalmer@gmail.com>
category: Development
synopsis: Generates ctags for Haskell, incorporating import lists and qualified imports
description:
hothasktags generates ctags files for Haskell, with knowledge of import lists
and qualified imports. It provides a smart go-to-definition for vim, that almost
always gets it right in the presence of multiple names from different modules.
You will want to configure vim to allow dots in keywords, because hothasktags
generates tags for qualified names. You can do this with:
set iskeyword=a-z,A-Z,_,.,39
(The 39 is for the prime character)
Usage is easy, just give hothasktags the names of all the haskell sources you
want to index and redirect into a tags file. For example:
find . | egrep '\.hs$' | xargs hothasktags > tags
will index all the hs files under the current directory.
homepage: http://github.com/luqui/hothasktags
executable hothasktags
build-depends:
base == 4.*,
containers,
haskell-src-exts == 1.11.*,
cpphs >= 1.11 && < 1.14
main-is: Main.hs
ghc-options: -W