mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-31 14:43:40 -05:00
Initial version of dart module
This commit is contained in:
11
modules/lang/dart/doctor.el
Normal file
11
modules/lang/dart/doctor.el
Normal file
@@ -0,0 +1,11 @@
|
||||
;;; lang/dart/doctor.el -*- lexical-binding: t; -*-
|
||||
|
||||
(assert! (or (not (featurep! +lsp))
|
||||
(featurep! :tools lsp))
|
||||
"This module requires (:tools lsp)")
|
||||
|
||||
(unless (executable-find "dart")
|
||||
(warn! "Dart isn't on PATH."))
|
||||
|
||||
(unless (file-readable-p lsp-dart-sdk-dir)
|
||||
(warn! "LSP Mode can't find lsp-dart-sdk-dir."))
|
Reference in New Issue
Block a user