summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Li <li.davidm96@gmail.com>2016-03-17 21:26:05 -0400
committerDavid Li <li.davidm96@gmail.com>2016-03-17 21:26:05 -0400
commit3ef6e6fcfbe89ea54869b1500b73c608cf821e87 (patch)
tree5737b161f95bacd646ab7694380ec8632ed81c22
parent0e02395700cbcc0a746873eb403f9db502e6f66c (diff)
Set up auto-revert-mode, Haskell, LaTeX
-rw-r--r--init.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/init.el b/init.el
index e52ab1c..5582351 100644
--- a/init.el
+++ b/init.el
@@ -31,6 +31,8 @@
;; (set-80-editing-columns)
;; ))
+(global-auto-revert-mode 1)
+
;; Powerline
(require 'powerline)
(powerline-center-evil-theme)
@@ -142,6 +144,16 @@ This functions should be added to the hooks of major modes for programming."
;; aligns annotation to the right hand side
(setq company-tooltip-align-annotations t)
+;; haskell-mode
+(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
+
+;; latex-mode
+
+
+(add-hook 'LaTeX-mode-hook (lambda ()
+ (flyspell-mode 1)
+ (visual-line-mode 1)))
+
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.