From 8cf7486fd4909f594e80fa65d97ea34b1bc0a12b Mon Sep 17 00:00:00 2001 From: William Moore Date: Sat, 13 Jul 2024 01:11:25 -0500 Subject: [PATCH] Update to add rainbow-delimiters and remove golden ratio --- README.org | 4 ++++ whomp/whomp-defaults.el | 8 ++++---- whomp/whomp-development.el | 9 ++++++++- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/README.org b/README.org index 2470fd0..4286cef 100644 --- a/README.org +++ b/README.org @@ -10,6 +10,10 @@ I recently was advised against rolling my own emacs configuration. Then someone did it, because he's smart like that. As it turns out, yeah, he admitted to being wrong. The result of rolling my own is a nice fast distribution that is somewhat opinionated. +Furthermore, most of the major changes in W.H.O.M.P. are highly experimental and haven't been suggested for T.H.W.A.P. just yet. Enjoy! + +From the original developer of T.W.A.P.: + No doubt I've been helped along that journey by much reading and worthy YouTube Emacs content. And in that spirit I am publishing this configuration, and endeavoring to ensure that it is well commented and documented. If you have questions, concerns, or suggestions, feel free to start a discussion by opening an issue. If you have suggestions, and can't be asked diff --git a/whomp/whomp-defaults.el b/whomp/whomp-defaults.el index 589b73a..0da906d 100644 --- a/whomp/whomp-defaults.el +++ b/whomp/whomp-defaults.el @@ -25,10 +25,10 @@ ;; ;; golden-ratio -(straight-use-package 'golden-ratio) -(golden-ratio-mode 1) -(setq golden-ratio-auto-scale t) -(message "Golden Ratio Mode Enabled") +;; (straight-use-package 'golden-ratio) +;; (golden-ratio-mode 1) +;; (setq golden-ratio-auto-scale t) +;; (message "Golden Ratio Mode Enabled") ;; ;; Set up the W.H.O.M.P. keybindings diff --git a/whomp/whomp-development.el b/whomp/whomp-development.el index 076e4e5..f39380c 100644 --- a/whomp/whomp-development.el +++ b/whomp/whomp-development.el @@ -13,7 +13,9 @@ (const :tag "go" gomode) ;; go language support (const :tag "python" pythonmode) ;; python language support (const :tag "elpy" elpymode) ;; python language support (elpy) - (const :tag "yaml" yamlmode)) ;; yaml language support + (const :tag "yaml" yamlmode) ;; yaml language support + (const :tag "rainbow-delimiters" rainbowmode) ;; rainbow-delimiters support + ) :group 'whomp-config) @@ -94,6 +96,11 @@ (setq-local electric-layout-rules nil))) (message "yaml-mode loaded")) +;; rainbow-delimiters-mode +(when (memq 'rainbowmode whomp-development) + (straight-use-package 'rainbow-delimiters) + (add-hook 'prog-mode-hook #'rainbow-delimiters-mode) + (message "rainbow-delimiters-mode loaded")) (message "W.H.O.M.P. development assistance packages loaded") (provide 'whomp-development)