Mercurial > dotfiles
diff .elisp/settings/40.modes.el @ 268:8109c1d949c8
go-mode-hook: disable tabs highlighting, enable tab indentation
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 02 Aug 2011 17:27:53 -0500 |
parents | 863f1503616f |
children | 884f7f932a83 |
line wrap: on
line diff
--- a/.elisp/settings/40.modes.el +++ b/.elisp/settings/40.modes.el @@ -31,7 +31,11 @@ point." (defun af-go-hook () ;; enable tabs (setq tab-width 2) - (setq-default indent-tabs-mode t)) + (setq-default indent-tabs-mode t) + (make-variable-buffer-local 'whitespace-style) + (setq whitespace-style '(trailing lines-tail indentation trailing empty)) + (message "Fixed whitespace style") + ) (let ((go-emacs (concat (getenv "GOROOT") "/misc/emacs")))