<p>Of course! I will have a play this weekend. Thanks for the advice.</p>
<div class="gmail_quote">On Aug 3, 2012 10:45 PM, &quot;Nathan Howell&quot; &lt;<a href="mailto:nathan.d.howell@gmail.com">nathan.d.howell@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Aug 3, 2012 at 2:35 PM, Benjamin Edwards &lt;<a href="mailto:edwards.benj@gmail.com">edwards.benj@gmail.com</a>&gt; wrote:<br>
&gt; I am struggling to get ctags and / or haskell mode to work with cabal-dev.<br>
&gt; This is quite annoying. Has anyone worked around this?<br>
<br>
I use ghc-mod for vim and it sorta supports this... by adding<br>
arbitrary flags to GHC in your vimrc:<br>
<br>
let g:ghcmod_ghc_options =<br>
[&#39;-package-conf=/Source/alphaHeavy/build/package.conf.d&#39;]<br>
<br>
Providing cabal-dev maintains a package database it should work there<br>
too. With a little vim-fu you could probably discover the most correct<br>
package database automatically.<br>
<br>
<a href="https://github.com/eagletmt/ghcmod-vim" target="_blank">https://github.com/eagletmt/ghcmod-vim</a><br>
<br>
-n<br>
</blockquote></div>