2020-09-30 00:31:14 -07:00
|
|
|
;;; ui/emoji/config.el -*- lexical-binding: t; -*-
|
|
|
|
|
|
|
|
(use-package! emojify
|
|
|
|
:hook (doom-first-buffer . global-emojify-mode)
|
|
|
|
:config
|
|
|
|
(setq emojify-styles
|
|
|
|
(delq
|
|
|
|
nil (list (if (featurep! +ascii) 'ascii)
|
|
|
|
(if (featurep! +github) 'github)
|
|
|
|
(if (featurep! +unicode) 'unicode))))
|
2022-02-10 20:16:48 +01:00
|
|
|
|
|
|
|
;; No rendering emoji in verbatim tags.
|
|
|
|
(setq-hook! 'org-mode-hook
|
|
|
|
emojify-inhibit-functions (cons #'org-in-verbatim-emphasis emojify-inhibit-functions))
|
|
|
|
|
2020-09-30 00:31:14 -07:00
|
|
|
(emojify-set-emoji-styles emojify-styles))
|