Update to add rainbow-delimiters and remove golden ratio

This commit is contained in:
William Moore 2024-07-13 01:11:25 -05:00
parent 5af807c1ca
commit 8cf7486fd4
3 changed files with 16 additions and 5 deletions

View File

@ -10,6 +10,10 @@
I recently was advised against rolling my own emacs configuration. Then someone did it, because he's smart like that. 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. 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 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, 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 concerns, or suggestions, feel free to start a discussion by opening an issue. If you have suggestions, and can't be asked

View File

@ -25,10 +25,10 @@
;; ;;
;; golden-ratio ;; golden-ratio
(straight-use-package 'golden-ratio) ;; (straight-use-package 'golden-ratio)
(golden-ratio-mode 1) ;; (golden-ratio-mode 1)
(setq golden-ratio-auto-scale t) ;; (setq golden-ratio-auto-scale t)
(message "Golden Ratio Mode Enabled") ;; (message "Golden Ratio Mode Enabled")
;; ;;
;; Set up the W.H.O.M.P. keybindings ;; Set up the W.H.O.M.P. keybindings

View File

@ -13,7 +13,9 @@
(const :tag "go" gomode) ;; go language support (const :tag "go" gomode) ;; go language support
(const :tag "python" pythonmode) ;; python language support (const :tag "python" pythonmode) ;; python language support
(const :tag "elpy" elpymode) ;; python language support (elpy) (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) :group 'whomp-config)
@ -94,6 +96,11 @@
(setq-local electric-layout-rules nil))) (setq-local electric-layout-rules nil)))
(message "yaml-mode loaded")) (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") (message "W.H.O.M.P. development assistance packages loaded")
(provide 'whomp-development) (provide 'whomp-development)