mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 12:00:24 +10:00
Moving to Doom Emacs!
This commit is contained in:
12
.emacs.d/modules/lang/web/doctor.el
Normal file
12
.emacs.d/modules/lang/web/doctor.el
Normal file
@@ -0,0 +1,12 @@
|
||||
;;; 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."))
|
||||
|
||||
Reference in New Issue
Block a user