Fix org fontification and default font

This commit is contained in:
JLP 2025-08-20 15:16:11 -04:00
parent 0f529d9a53
commit a3693b9c89
Signed by: jleechpe
GPG key ID: 414E00D1FF7519DC
2 changed files with 9 additions and 4 deletions

View file

@ -27,7 +27,7 @@
(add-to-list 'load-path user-secure-config-dir) (add-to-list 'load-path user-secure-config-dir)
;; ** UI Variables ;; ** UI Variables
(defcustom emacs-font "Fira Code Nerd Font" "Font to use" (defcustom emacs-font "SauceCode Pro Nerd Font" "Font to use"
:type 'string :type 'string
:group 'config-ui) :group 'config-ui)
(defcustom emoji-font "Noto Color Emoji" "Font for emojis/icons" (defcustom emoji-font "Noto Color Emoji" "Font for emojis/icons"

View file

@ -186,8 +186,8 @@ are defining or executing a macro."
;; ** Font ;; ** Font
(set-fontset-font t nil emoji-font) (set-fontset-font t nil emoji-font)
(set-face-attribute 'default nil (set-face-attribute 'default nil
:family emacs-font :family "SauceCode Pro Nerd Font";emacs-font
:height 110 :height 120
:weight 'normal :weight 'normal
:width 'normal) :width 'normal)
@ -465,6 +465,7 @@ are defining or executing a macro."
;; ** Wakatime ;; ** Wakatime
(use-package wakatime-mode (use-package wakatime-mode
:disabled t
:init :init
(global-wakatime-mode 1)) (global-wakatime-mode 1))
@ -989,7 +990,7 @@ methods the save hook cannot detect, like file synchronization."
(dir (file-name-nondirectory (directory-file-name (dir (file-name-nondirectory (directory-file-name
(file-name-directory file))))) (file-name-directory file)))))
(concat (propertize " " 'display `(space :align-to center)) (concat (propertize " " 'display `(space :align-to center))
title " " (format "%S" aliases) " " title " " (format "%S" aliases) " " (format "%S" tags)
(format "B:%s" blinks) (format "B:%s" blinks)
" " " "
(format "F:%s" flinks) (format "F:%s" flinks)
@ -1003,6 +1004,9 @@ methods the save hook cannot detect, like file synchronization."
(org-after-todo-statistics . my/org-statistics-update) (org-after-todo-statistics . my/org-statistics-update)
(org-checkbox-statistics . my/org-checkbox-statistics-update) (org-checkbox-statistics . my/org-checkbox-statistics-update)
(org-mode . my/abbrev-completion-completers)) (org-mode . my/abbrev-completion-completers))
:init
(setq org-emphasis-regexp-components
'("-[:space:]('\"{" "-[:space:].,:!?;'\")}\\[" "[:space:]" "." 5))
:config :config
(push 'org-self-insert-command completion-preview-commands) (push 'org-self-insert-command completion-preview-commands)
(add-to-list 'org-modules 'org-habit) (add-to-list 'org-modules 'org-habit)
@ -1041,6 +1045,7 @@ methods the save hook cannot detect, like file synchronization."
org-agenda-include-diary nil org-agenda-include-diary nil
org-agenda-span 'day org-agenda-span 'day
org-hide-leading-stars t org-hide-leading-stars t
org-fontify-quote-and-verse-blocks t
;; ID Links ;; ID Links
org-id-link-to-org-use-id 'create-if-interactive org-id-link-to-org-use-id 'create-if-interactive