SublimeHaskell/SublimeHaskell — pull request #5 by lightquake (2012-10-05 07:16:11+00:00)
Title: Set the CWD of ghc-mod to be the base directory of the cabal package

For me, ghc-mod wasn't properly finding types unless its CWD was somewhere in the cabal hierarchy. This runs ghc-mod from the directory of the .cabal file.