SublimeHaskell/SublimeHaskell — pull request #3 by Lemmih (2012-09-18 08:40:35+00:00)
Title: Fix building and autocompletion with newer versions of Sublime Text 2.

Building through cabal and autocompletion through ghc-mod has been broken for a while. The problem was that 'get_settings()' must be called from the main thread (I'm not sure at what version of Sublime Text this happened). I've worked around this by hoisting the 'get_settings()' call out of the callback.