2018-05-25 01:01:22 +02:00
|
|
|
;;; lang/web/doctor.el -*- lexical-binding: t; -*-
|
|
|
|
|
2019-04-22 03:10:25 -04:00
|
|
|
(assert! (or (not (featurep! +lsp))
|
|
|
|
(featurep! :tools lsp))
|
|
|
|
"This module requires (:tools lsp)")
|
|
|
|
|
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."))
|
|
|
|
|