Created
December 13, 2017 04:54
-
-
Save kozross/d0cf1846c0be8c60bd2b2fb606a5ad85 to your computer and use it in GitHub Desktop.
Haskell setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| augroup ghciMaps | |
| au! | |
| au FileType haskell nnoremap <silent> <leader>gs :GhciStart<CR> | |
| au FileType haskell nnoremap <silent> <leader>gk :GhciKill<CR> | |
| au FileType haskell nnoremap <silent> <leader>gr :GhciRestart<CR> | |
| au FileType haskell nnoremap <silent> <leader>go :GhciOpen<CR> | |
| au BufWritePost *.hs GhciReload | |
| au BufWritePost *.hs GhciReload | |
| let g:ghci_command = 'stack repl' | |
| let g:ghci_command_line_options = '--ghci-options="-fobject-code -Wall"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment