Open arichiardi opened 9 years ago
I would like to disable auto-cleaning/formatting on save when in clojure-mode, I found live-ignore-whitespace-modes as variable that can be set and will exclude some cleaning:
live-ignore-whitespace-modes
(defun live-cleanup-whitespace () (if (not (member major-mode live-ignore-whitespace-modes)) (let ((whitespace-style '(trailing empty)) ) (whitespace-cleanup))))
Is it enough to add clojure-mode to that var?
clojure-mode
I have tried: (push 'clojure-mode live-ignore-whitespace-modes) and it worked, you can close this issue if there is nothing to add..
(push 'clojure-mode live-ignore-whitespace-modes)
I would like to disable auto-cleaning/formatting on save when in clojure-mode, I found
live-ignore-whitespace-modes
as variable that can be set and will exclude some cleaning:Is it enough to add
clojure-mode
to that var?