Initial version of dart module

This commit is contained in:
sevensidedmarble (Andrew Stewart) 2020-02-15 12:22:01 -05:00
parent b0978a4526
commit 45da8d0d5f
4 changed files with 36 additions and 0 deletions

View 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."))