commit dd2340277b6bf7a28274e288e069b76d59151e88 parent e60ffbf26daae61aaf437ce404a8469e0bd9674f Author: Anders <anders@desk.andersuno.nu> Date: Sat, 22 Oct 2022 14:34:08 +0200 doom: fix markdown nested toc generation Diffstat:
M | .doom.d/config.el | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/.doom.d/config.el b/.doom.d/config.el @@ -82,6 +82,18 @@ (map! :leader :prefix "o" "e" #'elfeed) +;; Markdown nesting troublesome with nativecomp +;; Exclude markdown from nativecomp instead of setting nested nil +;; From lisp/doom-packages.el +(when (featurep 'native-compile) + (after! comp + ;; HACK Disable native-compilation for some troublesome packages + (mapc (doom-partial #'add-to-list 'native-comp-deferred-compilation-deny-list) + (list + "/markdown-.*\\.el\\'" +)))) +(setq markdown-nested-imenu-heading-index t) + (after! org (setq org-directory "~/NC/org/") (setq org-agenda-files "~/NC/org/agenda.org"))