Skip to content

Commit

Permalink
refactor(citar): remove unneeded stuff
Browse files Browse the repository at this point in the history
(cherry picked from commit ff385e0)
  • Loading branch information
abougouffa committed Dec 3, 2024
1 parent 85f2bdc commit bbea31f
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions modules/me-org.el
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,10 @@
(citar-symbol-separator " ")
:config
(with-eval-after-load 'nerd-icons
(defun +citar--set-symbols ()
(setq citar-symbols
`((file ,(nerd-icons-codicon "nf-cod-file_pdf" :face 'error) . " ")
(note ,(nerd-icons-faicon "nf-fa-file_text" :face 'warning) . " ")
(link ,(nerd-icons-mdicon "nf-md-link" :face 'org-link) . " "))))

;; Properly setup citar-symbols
(once-x-call '(:check display-graphic-p :hooks server-after-make-frame-hook :packages (citar))
#'+citar--set-symbols)))
(setq citar-symbols
`((file ,(nerd-icons-codicon "nf-cod-file_pdf" :face 'error) . " ")
(note ,(nerd-icons-faicon "nf-fa-file_text" :face 'warning) . " ")
(link ,(nerd-icons-mdicon "nf-md-link" :face 'org-link) . " ")))))


;; Citar integration with Embark
Expand Down

0 comments on commit bbea31f

Please sign in to comment.