src.nth.io/

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elisp/haskell-intero-init.el2
-rw-r--r--init.el1
2 files changed, 3 insertions, 0 deletions
diff --git a/elisp/haskell-intero-init.el b/elisp/haskell-intero-init.el
index c6f6b90..74e29ca 100644
--- a/elisp/haskell-intero-init.el
+++ b/elisp/haskell-intero-init.el
@@ -16,6 +16,8 @@
(add-hook 'haskell-mode-hook 'intero-mode)
(setq
+ compile-command "stack build "
+
haskell-stylish-on-save t
haskell-indentation-layout-offset 4
haskell-indentation-left-offset 4
diff --git a/init.el b/init.el
index eae2f9a..116100b 100644
--- a/init.el
+++ b/init.el
@@ -12,6 +12,7 @@
split-width-threshold 181 ; min width to split window horizontially
split-height-threshold 120 ; min width to split window vertically
reb-re-syntax 'string ; use string syntax for regexp builder
+ fill-column 120 ; line width
require-final-newline 'visit-save) ; add a newline automatically
(put 'set-goal-column 'disabled nil) ; enable goal column setting