Files
doomemacs/modules/tools/tree-sitter/doctor.el
Henrik Lissner 1ac1b70d4e refactor!(tree-sitter): replace tree-sitter w/ treesit
BREAKING CHANGE: This rewrites the :tools tree-sitter module to use
treesit instead of tree-sitter.el. Users will need to adapt to treesit
and remove any tree-sitter-specific config in their dotfiles.

Ref: #7623
Ref: #7742
Ref: #8197
2025-05-15 13:01:29 +02:00

9 lines
365 B
EmacsLisp

;;; tools/tree-sitter/doctor.el -*- lexical-binding: t; -*-
(unless (fboundp 'module-load)
(warn! "Emacs was not built with dynamic modules support, which the treesit.el library requires"))
(unless (and (fboundp 'treesit-available-p)
(treesit-available-p))
(error! "Treesit library not available. Did you build Emacs with tree-sitter support?"))