my sublime setup for haskell includes:
SublimeHaskell, but with most features disabled. mostly for syntax highlighting.(as was pointed out, it is sufficient to grab the*theme
file and omit the rest of the plugin. And even that is optional.)- for auto-formatting:
- this (slightly modified) external-command plugin: https://github.com/lspitzner/SublimeExternalCommand
- brittany (installed so that is on path)
- the below keybind (you can open the user keybindings in sublime and merge the below)
- you can either select some function and reformat that by pressing
f9
, or select nothing (whole file gets formatted)
- for quick compilation feedback: