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