emacs: switch to ethan-wspace
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
|
||||
# === CODE FORMATTING AND CLEANUP ===
|
||||
web-beautify # Format and beautify web code (HTML/CSS/JS)
|
||||
whitespace-cleanup-mode # Automatically clean up whitespace on save
|
||||
ethan-wspace # Automatically clean up whitespace on save
|
||||
|
||||
# === PARENTHESES AND STRUCTURE EDITING ===
|
||||
paredit # Balanced parentheses editing for Lisp-like languages
|
||||
|
||||
@@ -387,11 +387,15 @@ frame if FRAME is nil, and to 1 if AMT is nil."
|
||||
(yas-global-mode 1))
|
||||
|
||||
;; Clean up whitespace
|
||||
(use-package whitespace-cleanup-mode
|
||||
:diminish
|
||||
(use-package ethan-wspace
|
||||
:ensure t
|
||||
:diminish ethan-wspace-mode
|
||||
:config
|
||||
(setq whitespace-cleanup-mode-only-if-initially-clean nil)
|
||||
(global-whitespace-cleanup-mode))
|
||||
;; Enable globally
|
||||
(global-ethan-wspace-mode 1)
|
||||
|
||||
;; Customize what to clean
|
||||
(setq mode-require-final-newline nil)) ; ethan-wspace handles this
|
||||
|
||||
;; Rainbow delimiters
|
||||
(use-package rainbow-delimiters)
|
||||
|
||||
Reference in New Issue
Block a user