diff options
-rw-r--r-- | emacs-init.el | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/emacs-init.el b/emacs-init.el index 6993f5fe..e6c2dfcc 100644 --- a/emacs-init.el +++ b/emacs-init.el @@ -59,6 +59,9 @@ (use-package diminish) ; for using :diminish later (use-package bind-key) ; for using :bind later +;; Some packages below have `:commands (...) :demand t'. +;; We need :commands for the byte-compiler, but we want to load the package immediately. + ;; Look and feel (set-face-attribute 'default nil :family "Hermit" :height 100) @@ -76,8 +79,13 @@ `(cursor ((default :background ,(tw/get-catppuccin-color "rosewater"))) t "Make the cursor \"rosewater\", as recommended by Catppuccin upstream, overriding catppuccin/emacs.")) -;; Some packages below have `:commands (...) :demand t'. -;; We need :commands for the byte-compiler, but we want to load the package immediately. +(use-package smart-mode-line + :commands (sml/setup) :demand t + :custom + (sml/no-confirm-load-theme t "Stop Emacs from constantly asking for user confirmation.") + (sml/mode-width 'right "Move the minor-mode list to the right of the modeline.") + (sml/theme 'respectful "Make `smart-mode-line' blend in with the active theme.") + :config (sml/setup)) ;; General editor behaviour. (use-package ivy |