2018-05-25 01:01:22 +02:00
|
|
|
;;; lang/web/doctor.el -*- lexical-binding: t; -*-
|
|
|
|
|
2022-08-12 20:29:19 +02:00
|
|
|
(assert! (or (not (modulep! +lsp))
|
|
|
|
(modulep! :tools lsp))
|
2019-04-22 03:10:25 -04:00
|
|
|
"This module requires (:tools lsp)")
|
|
|
|
|
2022-08-12 20:29:19 +02:00
|
|
|
(assert! (or (not (modulep! +tree-sitter))
|
|
|
|
(modulep! :tools tree-sitter))
|
2021-10-19 19:26:26 +01:00
|
|
|
"This module requires (:tools tree-sitter)")
|
|
|
|
|
2018-05-25 01:01:22 +02:00
|
|
|
(unless (executable-find "js-beautify")
|
|
|
|
(warn! "Couldn't find js-beautify. Code formatting in JS/CSS/HTML modes will not work."))
|
|
|
|
|
|
|
|
(unless (executable-find "stylelint")
|
|
|
|
(warn! "Couldn't find stylelint. Linting for CSS modes will not work."))
|
|
|
|
|
2021-05-26 21:46:17 -07:00
|
|
|
(unless (executable-find "tidy")
|
|
|
|
(warn! "Couldn't find tidy. Code formatting in HTML modes will not work."))
|