added camelcase to haskell mode

This commit is contained in:
ndwarshuis 2018-11-18 23:30:26 -05:00
parent 3a9743e291
commit 540ac5f271
1 changed files with 6 additions and 0 deletions

View File

@ -509,6 +509,7 @@ NOTES:
python-shell-interpreter-args "--colors=Linux --profile=default")
#+END_SRC
*** haskell
**** major mode and intero
Haskell is covered just with the basic major mode and intero (provides =company= and =flycheck=) which integrates well with stack.
#+BEGIN_SRC emacs-lisp
(use-package haskell-mode
@ -522,6 +523,11 @@ Haskell is covered just with the basic major mode and intero (provides =company=
:hook
(haskell-mode . intero-mode))
#+END_SRC
**** camelCase
The defacto style for haskell mandates camelcase, so use subword mode.
#+BEGIN_SRC emacs-lisp
(add-hook 'haskell-mode-hook #'subword-mode)
#+END_SRC
*** latex
**** flycheck
Flycheck should work out of the box.