packages feed

hothasktags 0.2.0 → 0.2.1

raw patch · 2 files changed

+17/−15 lines, 2 filesdep ~cpphsdep ~haskell-src-exts

Dependency ranges changed: cpphs, haskell-src-exts

Files

Main.hs view
@@ -163,8 +163,10 @@     contents <- readFile file     let needsCpp = maybe False (L.CPP `elem`) (L.readExtensions contents)     if needsCpp-        then CPP.runCpphs CPP.defaultCpphsOptions file contents+        then CPP.runCpphs cppOpts file contents         else return contents+    where+    cppOpts = CPP.defaultCpphsOptions { CPP.boolopts = CPP.defaultBoolOptions { CPP.hashline = False } }       makeDatabase :: [FilePath] -> IO Database@@ -185,7 +187,7 @@         L.extensions = [L.MultiParamTypeClasses, L.ExistentialQuantification, L.FlexibleContexts],         L.ignoreLanguagePragmas = False,         L.ignoreLinePragmas = False,-        L.fixities = []+        L.fixities = Nothing       }  moduleFile :: L.Module L.SrcSpanInfo -> FilePath
hothasktags.cabal view
@@ -1,5 +1,5 @@ name: hothasktags-version: 0.2.0+version: 0.2.1 cabal-version: >= 1.6 && < 2 build-type: Simple author: Luke Palmer <lrpalmer@gmail.com>@@ -9,28 +9,28 @@ 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+    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+    .+    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-    +    .+    > 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-    +    .+    > 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.8 && < 1.11,-        cpphs == 1.11.*+        haskell-src-exts == 1.11.*,+        cpphs >= 1.11 && < 1.14     main-is: Main.hs     ghc-options: -W