Merge pull request #4941 from HyunggyuJang/fix/org-pretty-cookie

lang/org: cleanup `+pretty` feature, mostly just adding `if` cookie
This commit is contained in:
Henrik Lissner 2021-05-01 01:40:26 -04:00 committed by GitHub
commit a7e01e0574
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +1,11 @@
;;; lang/org/contrib/pretty.el -*- lexical-binding: t; -*-
;;;###if (featurep! +pretty)
(after! org
(setq org-highlight-latex-and-related '(native script entities)))
(use-package! org-superstar ; "prettier" bullets
:hook (org-mode . org-superstar-mode)
:init
:config
;; Make leading stars truly invisible, by rendering them as spaces!
(setq org-superstar-leading-bullet ?\s