mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-02 14:53:38 -05:00
11 lines
402 B
EmacsLisp
11 lines
402 B
EmacsLisp
;;; tools/tree-sitter/doctor.el -*- lexical-binding: t; -*-
|
|
|
|
(unless (fboundp 'module-load)
|
|
(error! "Emacs not built with dynamic modules support"))
|
|
|
|
(if (version< emacs-version "29.1")
|
|
(error! "Emacs 29.1 or newer is required for tree-sitter support")
|
|
(unless (and (fboundp 'treesit-available-p)
|
|
(treesit-available-p))
|
|
(error! "Emacs not built with tree-sitter support!")))
|