mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/org: reformat UI config; setq-default -> setq
This commit is contained in:
@ -83,8 +83,7 @@ path too.")
|
||||
|
||||
(defun +org-init-appearance-h ()
|
||||
"Configures the UI for `org-mode'."
|
||||
(setq-default
|
||||
org-indirect-buffer-display 'current-window
|
||||
(setq org-indirect-buffer-display 'current-window
|
||||
org-eldoc-breadcrumb-separator " → "
|
||||
org-enforce-todo-dependencies t
|
||||
org-entities-user
|
||||
@ -104,9 +103,7 @@ path too.")
|
||||
(?C . success))
|
||||
org-startup-indented t
|
||||
org-tags-column -80
|
||||
org-use-sub-superscripts '{}
|
||||
;; Scale up LaTeX previews a bit (default is too small)
|
||||
org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
|
||||
org-use-sub-superscripts '{})
|
||||
|
||||
(setq org-refile-targets
|
||||
'((nil :maxlevel . 3)
|
||||
@ -118,6 +115,9 @@ path too.")
|
||||
org-refile-use-outline-path 'file
|
||||
org-outline-path-complete-in-steps nil)
|
||||
|
||||
;; Scale up LaTeX previews a bit (default is too small)
|
||||
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
|
||||
;; ...and fix their background w/ themes
|
||||
(add-hook! 'doom-load-theme-hook
|
||||
(defun +org-refresh-latex-background ()
|
||||
"Previews are usually rendered with light backgrounds, so ensure their
|
||||
|
Reference in New Issue
Block a user