Switch to using base16-theme for catppuccin-mocha

Prefer the choice of syntax highlighting

Add elfeed-tube back to installed packages
This commit is contained in:
Evie Litherland-Smith 2024-05-10 14:18:42 +01:00
parent 6d703721e5
commit 536b26f4bc
2 changed files with 9 additions and 12 deletions

17
init.el
View file

@ -449,15 +449,13 @@ Uses `my/projects-directory' to find correct directory"
other-window)) other-window))
(advice-add command :after #'pulse-line)) (advice-add command :after #'pulse-line))
(use-package catppuccin-theme (use-package base16-theme
:demand :demand
:custom :custom
(catppuccin-flavour 'mocha) (base16-theme-distinct-fringe-background t)
(catppuccin-italic-blockquotes t) (base16-theme-highlight-mode-line 'contrast)
(catppuccin-italic-comments t)
(catppuccin-italic-variables nil)
:config :config
(load-theme 'catppuccin t)) (load-theme 'base16-catppuccin-mocha t))
(use-package nerd-icons (use-package nerd-icons
:config (nerd-icons-set-font "Symbols Nerd Font Mono-12")) :config (nerd-icons-set-font "Symbols Nerd Font Mono-12"))
@ -908,9 +906,8 @@ Uses `my/projects-directory' to find correct directory"
("C-c c e" . eglot) ("C-c c e" . eglot)
("C-c c a" . eglot-code-actions) ("C-c c a" . eglot-code-actions)
("C-c c r" . eglot-rename)) ("C-c c r" . eglot-rename))
:hook (((nix-mode python-base-mode fortran-mode f90-mode) . eglot-ensure) :hook ((eglot-managed-mode . (lambda () (add-hook 'flymake-diagnostic-functions
(eglot-managed-mode . (lambda () (add-hook 'flymake-diagnostic-functions 'eglot-flymake-backend nil t))))
'eglot-flymake-backend nil t))))
:custom :custom
(eglot-extend-to-xref t) (eglot-extend-to-xref t)
(eglot-autoshutdown t) (eglot-autoshutdown t)
@ -1043,7 +1040,7 @@ Uses `my/projects-directory' to find correct directory"
(use-package python (use-package python
:hook ((python-base-mode . (lambda () (my/enable-fill-column 88))) :hook ((python-base-mode . (lambda () (my/enable-fill-column 88)))
(python-base-mode . (lambda () (add-hook 'flymake-diagnostic-functions (python-base-mode . (lambda () (add-hook 'flymake-diagnostic-functions
'flymake-collection-mypy nil t)))) 'flymake-collection-mypy nil t))))
:custom :custom
;; Set max line length for compatibility with black formatter ;; Set max line length for compatibility with black formatter
(python-flymake-command (python-flymake-command

View file

@ -7,7 +7,7 @@
(setopt package-selected-packages (setopt package-selected-packages
'( '(
;; Theme ;; Theme
catppuccin-theme base16-theme
;; UI ;; UI
all-the-icons nerd-icons nerd-icons-completion nerd-icons-corfu nerd-icons-dired nerd-icons-ibuffer doom-modeline diminish ligature page-break-lines helpful which-key link-hint diff-hl all-the-icons nerd-icons nerd-icons-completion nerd-icons-corfu nerd-icons-dired nerd-icons-ibuffer doom-modeline diminish ligature page-break-lines helpful which-key link-hint diff-hl
;; Completion ;; Completion
@ -37,7 +37,7 @@
;; Email ;; Email
mu4e mu4e
;; RSS feeds ;; RSS feeds
elfeed elfeed-org elfeed elfeed-org elfeed-tube
)) ))
(package-install-selected-packages) (package-install-selected-packages)
(package-autoremove) (package-autoremove)