-
Notifications
You must be signed in to change notification settings - Fork 14
/
lushtags.cabal
59 lines (57 loc) · 2.47 KB
/
lushtags.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: lushtags
version: 0.0.2
cabal-version: >=1.10
build-type: Simple
license: MIT
license-file: LICENSE
author: Bit Connor
homepage: https://github.com/bitc/lushtags
maintainer: [email protected]
category: Development
synopsis: Create ctags compatible tags files for Haskell programs
description:
> Create ctags compatible tags files for Haskell programs
>
> Similar programs are [hasktags][1], [gasbag][2], [hothasktags][3], and GHC's
> builtin ctags generation.
>
> lushtags differs from these by being designed to have smooth integration with
> the [Vim Tagbar][4] 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:
>
> - Type signatures are displayed for functions.
> - Tags are properly scoped so that, for example, data declarations appear as a
> tree with their constructors scoped as children.
> - Definitions that are exported from the module are marked as "public" and
> appear emphasized in Tagbar.
> - Tag locations are internally stored as patterns, not line numbers, so that
> you can correctly jump to tags even if they have moved in the source code
> during editing.
>
> ![screenshot](https://github.com/bitc/lushtags/raw/master/doc/screenshot-tagbar-2011-09-19.png)
>
> [1]: http://hackage.haskell.org/package/hasktags
> [2]: http://kingfisher.nfshost.com/sw/gasbag/
> [3]: http://hackage.haskell.org/package/hothasktags
> [4]: http://majutsushi.github.com/tagbar/
source-repository head
type: git
location: git://github.com/bitc/lushtags.git
executable lushtags
hs-source-dirs: src
main-is: Main.hs
other-modules: Tags
default-language: Haskell98
ghc-options: -Wall
build-depends: base >= 4 && < 5,
vector >= 0.9 && < 0.13,
text >= 1.2 && < 2,
haskell-src-exts >= 1.18 && < 2