Add :ui pretty-code & set-pretty-symbols! autodef
Along with defaults for C/C++, elm, elisp, js, typescript, web-mode, and org-mode. Thanks to @ar1a for inspiration.
This commit is contained in:
parent
b991af552c
commit
ec8ae0bedc
9 changed files with 183 additions and 5 deletions
|
@ -48,7 +48,8 @@
|
|||
+org|setup-popups-rules
|
||||
+org|setup-agenda
|
||||
+org|setup-keybinds
|
||||
+org|setup-hacks))
|
||||
+org|setup-hacks
|
||||
+org|setup-pretty-code))
|
||||
|
||||
(add-hook! 'org-mode-hook
|
||||
#'(doom|disable-line-numbers ; org doesn't really need em
|
||||
|
@ -151,6 +152,13 @@ unfold to point on startup."
|
|||
((size . 0.2))
|
||||
((quit) (select . t))))))
|
||||
|
||||
(defun +org|setup-pretty-code ()
|
||||
"Setup the default pretty symbols for"
|
||||
(set-pretty-symbols! 'org-mode
|
||||
:name "#+NAME:"
|
||||
:src_block "#+BEGIN_SRC"
|
||||
:src_block_end "#+END_SRC"))
|
||||
|
||||
(defun +org|setup-ui ()
|
||||
"Configures the UI for `org-mode'."
|
||||
(setq-default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue