From 3ef6e6fcfbe89ea54869b1500b73c608cf821e87 Mon Sep 17 00:00:00 2001
From: David Li
Date: Thu, 17 Mar 2016 21:26:05 -0400
Subject: Set up auto-revert-mode, Haskell, LaTeX
---
init.el | 12 ++++++++++++
1 file changed, 12 insertions(+)
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.
--
cgit v1.2.3