summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.el b/init.el index 7befda5..7e2c1ea 100644 --- a/init.el +++ b/init.el
@@ -1511,7 +1511,8 @@ if ripgrep is installed, otherwise `consult-grep'."
1511 1511
1512 (defun acdw-modeline/wc () 1512 (defun acdw-modeline/wc ()
1513 "Display current `wc-buffer-stats'." 1513 "Display current `wc-buffer-stats'."
1514 (or wc-buffer-stats "[w]"))) 1514 (when wc-mode
1515 (or wc-buffer-stats "[w]"))))
1515 1516
1516(setup (:straight web-mode) 1517(setup (:straight web-mode)
1517 (:option css-level-offset 2 1518 (:option css-level-offset 2