themattchan / flycheck-liquidhs.el

Flycheck checker for LiquidHaskell
5 stars 5 forks source link

Stack integration #3

Open ghost opened 8 years ago

ghost commented 8 years ago

How do I get the emacs plugin to use "stack exec liquid -- file.hs" rather than "liquid file.hs"? I need this for liquid to be able to see stack-installed modules.

themattchan commented 8 years ago

Right now you can just hack it into the :command string.

I'm currently trying to add stack support to the checker nicely (i.e. without making two checkers or anything like that). Aiming to have the same checker first try stack then fallback to plain 'ol ghci.

Stay tuned.

ghost commented 8 years ago

I have changed the :command string in the file on my computer. In the meantime (before you get the checker working) do you think it is worth giving instructions for what to change in the README?

themattchan commented 8 years ago

Yes, indeed. I would think that just changing the :command string would work; I'll add instructions to the readme.