From 02c1215e8bf89ccb141292145a00930feb6b5325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madeleine=20Sydney=20=C5=9Alaga?= Date: Mon, 8 Sep 2025 11:21:01 -0600 Subject: [PATCH] feat(emacs): Superstar --- modules/home/users/msyds/emacs/init.el | 1 + .../msyds/emacs/lisp/syd/org/superstar.el | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 modules/home/users/msyds/emacs/lisp/syd/org/superstar.el diff --git a/modules/home/users/msyds/emacs/init.el b/modules/home/users/msyds/emacs/init.el index 70baeb4..2be3aef 100644 --- a/modules/home/users/msyds/emacs/init.el +++ b/modules/home/users/msyds/emacs/init.el @@ -37,6 +37,7 @@ syd/org/agenda syd/org/latex syd/org/transclusion + syd/org/superstar syd/smartparens syd/snippets syd/ptemplate)) diff --git a/modules/home/users/msyds/emacs/lisp/syd/org/superstar.el b/modules/home/users/msyds/emacs/lisp/syd/org/superstar.el new file mode 100644 index 0000000..6b0e539 --- /dev/null +++ b/modules/home/users/msyds/emacs/lisp/syd/org/superstar.el @@ -0,0 +1,19 @@ +;;; -*- lexical-binding: t -*- + +(require 'syd/base) +(require 'syd/org) + +(use-package org-superstar + :hook (org-mode . org-superstar-mode) + :custom ((org-superstar-headline-bullets-list '(9675)) + (org-superstar-item-bullet-alist '((?- . ?•) + (?+ . ?➤) + (?* . ?⋆)))) + :config + ;; Stars should use fixed-pitch font to align w/ `org-indent'. + (custom-theme-set-faces + 'user + `(org-superstar-header-bullet ((t (:font ,syd-alt-fixed-pitch-font)))) + `(org-superstar-item ((t (:font ,syd-alt-fixed-pitch-font)))))) + +(provide 'syd/org/superstar)