Andy Melnikov (nponeccop) wrote,
Andy Melnikov
nponeccop

Уровень развития инфраструктуры

Из коробки ничего не работает.

http://www.haskell.org/pipermail/haskell-cafe/2012-August/102682.html

> I am struggling to get ctags and / or haskell mode to work with cabal-dev.
> This is quite annoying. Has anyone worked around this?

I use ghc-mod for vim and it sorta supports this... by adding
arbitrary flags to GHC in your vimrc:

let g:ghcmod_ghc_options =
['-package-conf=/Source/alphaHeavy/build/package.conf.d']

Providing cabal-dev maintains a package database it should work there
too. With a little vim-fu you could probably discover the most correct
package database automatically.

https://github.com/eagletmt/ghcmod-vim
Subscribe

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 15 comments