From 70ab7de682ea1d1fcf47e0c260e5a340e3ccd9de Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Fri, 21 Jun 2013 12:41:52 -0400 Subject: [PATCH] [emacs] Configure whitespace-mode to highlight long lines --- .emacs.d/init.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 2ba1ea8..06d31eb 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -19,6 +19,13 @@ (require 'auto-complete-config) (ac-config-default) +;; Whitespace +(require 'whitespace) +(setq whitespace-line-column 80) ;; limit line length +(setq whitespace-style '(face lines-tail)) + +(global-whitespace-mode +1) + ;; Git Gutter (global-git-gutter-mode t)