mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
tweak(org): disable org-modern-hide-stars w/ org-indent-mode
This commit is contained in:
@ -11,4 +11,13 @@
|
||||
(use-package! org-modern
|
||||
:hook (org-mode . org-modern-mode)
|
||||
:hook (org-agenda-finalize . org-modern-mode)
|
||||
:hook (org-modern-mode . +org-pretty-mode))
|
||||
:hook (org-modern-mode . +org-pretty-mode)
|
||||
:config
|
||||
;; HACK: If `org-indent-mode' is active, org-modern's default of hiding
|
||||
;; leading stars makes sub-headings look too sunken into the left margin.
|
||||
;; Those stars are already "hidden" by `org-hide-leading-stars' anyway, so
|
||||
;; rely on just that.
|
||||
(add-hook! 'org-modern-mode-hook
|
||||
(defun +org-modern-show-hidden-stars-in-indent-mode-h ()
|
||||
(when org-indent-mode
|
||||
(setq-local org-modern-hide-stars nil)))))
|
||||
|
Reference in New Issue
Block a user