feat(emacs): Superstar
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
syd/org/agenda
|
||||
syd/org/latex
|
||||
syd/org/transclusion
|
||||
syd/org/superstar
|
||||
syd/smartparens
|
||||
syd/snippets
|
||||
syd/ptemplate))
|
||||
|
||||
19
modules/home/users/msyds/emacs/lisp/syd/org/superstar.el
Normal file
19
modules/home/users/msyds/emacs/lisp/syd/org/superstar.el
Normal file
@@ -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)
|
||||
Reference in New Issue
Block a user