Update tools.md

pull/96/head
Chris Allen 9 years ago
parent 8eaa776521
commit 2b77ae8f87

@ -20,8 +20,8 @@ It's a bit fragile, more than a bit slow, and it's not worth the grief.
- We recommend [Stephen Diehl's vim instructions](http://www.stephendiehl.com/posts/vim_2016.html) but we suggest replacing ghc-mod with the below for now. - We recommend [Stephen Diehl's vim instructions](http://www.stephendiehl.com/posts/vim_2016.html) but we suggest replacing ghc-mod with the below for now.
- For getting type errors in vim reliably (in lieu of ghc-mod) - For getting type errors in vim reliably (in lieu of ghc-mod)
``` ```
autocmd FileType haskell setlocal makeprg=stack\ build autocmd FileType haskell setlocal makeprg=stack\ build
autocmd FileType haskell setlocal errorformat=%f:%l:%v:%m autocmd FileType haskell setlocal errorformat=%f:%l:%v:%m
``` ```
from: https://github.com/ishiy1993/dotfiles/blob/master/.vimrc from: https://github.com/ishiy1993/dotfiles/blob/master/.vimrc

Loading…
Cancel
Save