summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/init.el b/init.el index c78f482..4136271 100644 --- a/init.el +++ b/init.el
@@ -1541,6 +1541,17 @@ See also `crux-reopen-as-root-mode'."
1541(setup (:straight vlf) 1541(setup (:straight vlf)
1542 (:require vlf-setup)) 1542 (:require vlf-setup))
1543 1543
1544(setup (:straight web-mode)
1545 (setf (alist-get (rx "." (or "htm" "html" "phtml" "tpl.php"
1546 "asp" "gsp" "jsp" "ascx" "aspx"
1547 "erb" "mustache" "djhtml")
1548 eos)
1549 auto-mode-alist)
1550 'web-mode)
1551 (with-eval-after-load 'apheleia
1552 (setf (alist-get 'web-mode apheleia-mode-alist)
1553 'prettier)))
1554
1544(setup (:straight whitespace-cleanup-mode) 1555(setup (:straight whitespace-cleanup-mode)
1545 (:option whitespace-cleanup-mode-preserve-point t 1556 (:option whitespace-cleanup-mode-preserve-point t
1546 whitespace-cleanup-mode-only-if-initially-clean nil) 1557 whitespace-cleanup-mode-only-if-initially-clean nil)