9 lines
342 B
EmacsLisp
9 lines
342 B
EmacsLisp
;;; lang/swift/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 "swiftformat")
|
|
(warn! "Couldn't find swiftformat. Formatting will be disabled.")))
|