Skip to content

Commit

Permalink
whitespace mode to highlight 80 chars/line violation
Browse files Browse the repository at this point in the history
  • Loading branch information
maio committed Sep 28, 2015
1 parent dbab400 commit 5a03287
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions emacs/emacs.d/lisp/maio-experiments.el
Expand Up @@ -266,4 +266,9 @@ _0_:close _1_:only | buffer _p_revious _n_ext _b_:select | _<_:undo _>_:redo
?z ?x ?c ?v ?b ?n ?m))
(define-key evil-normal-state-map (kbd "SPC") 'avy-goto-word-or-subword-1)

(require 'whitespace)
(setq whitespace-line-column 80)
(setq whitespace-style '(face lines-tail))
(add-hook 'prog-mode-hook 'whitespace-mode)

(provide 'maio-experiments)

0 comments on commit 5a03287

Please sign in to comment.