feat(markdown): add treesit support

This commit is contained in:
Henrik Lissner
2025-05-07 19:37:48 -04:00
parent a372eba7cd
commit 7cb23f3359
4 changed files with 31 additions and 0 deletions

View File

@@ -1,6 +1,10 @@
;; -*- lexical-binding: t; no-byte-compile: t; -*-
;;; lang/markdown/doctor.el
(assert! (or (not (modulep! +tree-sitter))
(modulep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")
(when (require 'markdown-mode nil t)
(cond ((eq markdown-command #'+markdown-compile)
(unless (cl-loop for (exe . cmd) in (list (cons "marked" '+markdown-compile-marked)