From 4c392d1acd2487641d01f8e2e4584561620ec433 Mon Sep 17 00:00:00 2001 From: Correl Date: Sat, 20 Mar 2021 00:24:17 -0400 Subject: [PATCH] [emacs] Add polymode ReStructuredText support --- .doom.d/config.org | 8 ++++++++ .doom.d/packages.el | 2 ++ 2 files changed, 10 insertions(+) diff --git a/.doom.d/config.org b/.doom.d/config.org index 5572a0d..0b7255a 100644 --- a/.doom.d/config.org +++ b/.doom.d/config.org @@ -1071,6 +1071,14 @@ Show linked org document sections inline. ("C-c l v t" . org-transclusion-mode)) :commands (org-transclusion-mode)) #+end_src +** ReStructuredText +#+begin_src emacs-lisp + (use-package! polymode + :defer t) + + (use-package! poly-rst + :mode ("\\.rst\\'" . poly-rst-mode)) +#+end_src ** Unfill Does the opposite of =fill (M-q)=, removing line breaks from a paragraph or region. diff --git a/.doom.d/packages.el b/.doom.d/packages.el index 1c00d97..586100b 100644 --- a/.doom.d/packages.el +++ b/.doom.d/packages.el @@ -40,6 +40,8 @@ (package! weechat) (package! weechat-alert) (package! yapfify) +(package! polymode) +(package! poly-rst) ;; When using org-roam via the `+roam` flag (unpin! org-roam company-org-roam)