(doom) workaround for centaur tabs

This commit is contained in:
qvalentin 2022-04-12 10:54:16 +02:00
parent 0eb83b5dc7
commit fc29f83ea7
Signed by: qvalentin
GPG Key ID: C979FA1EAFCABF1C
2 changed files with 22 additions and 1 deletions

View File

@ -92,3 +92,22 @@
(setq! org-ditaa-jar-path "/usr/share/java/ditaa/ditaa-0.11.jar"))
;; Spelling stuff
(setq ispell-program-name "hunspell" ; Use hunspell to correct mistakes
ispell-dictionary "de_DE") ; Default dictionary to use
(add-to-list 'ispell-skip-region-alist '("#\\+BEGIN_SRC" . "#\\+END_SRC"))
(defun save-all ()
(interactive)
(save-some-buffers t))
(add-hook 'deselect-frame-hook 'save-all)
(defadvice! fix-centaur-tabs-project-name ()
:override #'centaur-tabs-project-name
(let ((project-name (car (last (project-current)))))
(if project-name
(format "Project: %s" (expand-file-name project-name))
centaur-tabs-common-group-name)))

View File

@ -15,7 +15,7 @@
'(jdee-db-spec-breakpoint-face-colors (cons "#0d1011" "#928374"))
'(objed-cursor-color "#fb4934")
'(package-selected-packages
'(theme-magic xresources-theme exec-path-from-shell lsp-haskell lsp-ui))
'(markdown-preview-eww markdown-preview-mode theme-magic xresources-theme exec-path-from-shell lsp-haskell lsp-ui))
'(pdf-view-midnight-colors (cons "#ebdbb2" "#282828"))
'(rustic-ansi-faces
["#282828" "#fb4934" "#b8bb26" "#fabd2f" "#83a598" "#cc241d" "#8ec07c" "#ebdbb2"])
@ -90,3 +90,5 @@
'(markdown-header-face-4 :foreground "#1bae94" :height 1.15 :weight bold :inherit markdown-header-face)
'(markdown-header-face-5 :foreground "#1bae94" :height 1.15 :weight bold :inherit markdown-header-face)
'(markdown-header-face-6 :foreground "#1bae94" :height 1.15 :weight extra-bold :inherit markdown-header-face))