From 98094cf74be4c18a00609a30b466c2a1e00f47b5 Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Tue, 22 Nov 2016 20:38:53 -0500 Subject: [PATCH] Cleanup whitespace --- spacemacs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spacemacs b/spacemacs index a868320..483b9e1 100644 --- a/spacemacs +++ b/spacemacs @@ -286,7 +286,7 @@ values." ;; `trailing' to delete only the whitespace at end of lines, `changed'to ;; delete only whitespace for changed lines or `nil' to disable cleanup. ;; (default nil) - dotspacemacs-whitespace-cleanup t + dotspacemacs-whitespace-cleanup 'all )) (defun dotspacemacs/user-init () @@ -321,6 +321,8 @@ you should place your code here." (setq fci-rule-width 1) (setq fci-rule-color "yellow") (yas-global-mode 0) + (ws-butler-global-mode 1) + (setq ws-butler-keep-whitespace-before-point 0) (global-column-enforce-mode 1) (setq column-enforce-column 120) (define-key evil-emacs-state-map (kbd "C-c p s s") 'helm-do-ag-project-root)