This commit is contained in:
ry
2022-01-11 18:05:13 -08:00
parent 2046befee2
commit 8e7b654716
846 changed files with 71287 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
;;; lang/web/doctor.el -*- lexical-binding: t; -*-
(assert! (or (not (featurep! +lsp))
(featurep! :tools lsp))
"This module requires (:tools lsp)")
(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."))
(unless (executable-find "tidy")
(warn! "Couldn't find tidy. Code formatting in HTML modes will not work."))