feat(sml): add treesit (and lsp) support

This commit is contained in:
Henrik Lissner
2025-08-28 13:45:03 +02:00
parent 5bf132a80f
commit cfadd8f6a4
4 changed files with 33 additions and 5 deletions

View File

@@ -1,5 +1,9 @@
;;; lang/sml/doctor.el -*- lexical-binding: t; -*-
(assert! (or (not (modulep! +tree-sitter))
(modulep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")
(when (modulep! :editor format)
(unless (executable-find "smlformat")
(warn! "Couldn't find smlformat. Formatting will be disabled.")))