mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-25 14:13:37 -05:00
@@ -58,3 +58,5 @@
|
||||
(when (featurep! +hugo)
|
||||
(package! ox-hugo
|
||||
:recipe (:host github :repo "kaushalmodi/ox-hugo" :nonrecursive t)))
|
||||
(when (featurep! :lang rst)
|
||||
(package! ox-rst))
|
||||
|
18
modules/lang/rst/config.el
Normal file
18
modules/lang/rst/config.el
Normal file
@@ -0,0 +1,18 @@
|
||||
;;; lang/rst/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(use-package! sphinx-mode
|
||||
:hook (rst-mode . sphinx-mode))
|
||||
|
||||
(use-package! rst
|
||||
:defer t
|
||||
:config
|
||||
(map! :localleader
|
||||
:map rst-mode-map
|
||||
(:prefix ("a" . "adjust")
|
||||
"a" #'rst-adjust
|
||||
"r" #'rst-adjust-region)
|
||||
(:prefix ("t" . "table of contents")
|
||||
"t" #'rst-toc
|
||||
"i" #'rst-toc-insert
|
||||
"u" #'rst-toc-update
|
||||
"f" #'rst-toc-follow-link)))
|
4
modules/lang/rst/packages.el
Normal file
4
modules/lang/rst/packages.el
Normal file
@@ -0,0 +1,4 @@
|
||||
;; -*- no-byte-compile: t; -*-
|
||||
;;; lang/rst/packages.el
|
||||
|
||||
(package! sphinx-mode)
|
Reference in New Issue
Block a user