1
0
This commit is contained in:
2025-08-20 05:25:49 -07:00
parent 0a34aec505
commit 47026c59e7
3 changed files with 11 additions and 9 deletions

View File

@@ -84,7 +84,7 @@
# === CODE FORMATTING AND CLEANUP ===
web-beautify # Format and beautify web code (HTML/CSS/JS)
ws-butler # 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

View File

@@ -395,13 +395,15 @@ frame if FRAME is nil, and to 1 if AMT is nil."
(yas-global-mode 1))
;; Clean up whitespace
(use-package ws-butler
(use-package ethan-wspace
:ensure t
:diminish ws-butler-mode
:diminish ethan-wspace-mode
:config
(ws-butler-global-mode t)
;; Keep whitespace before point when editing
(setq ws-butler-keep-whitespace-before-point t))
;; 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)