From d9874da38ae2705db560974a3c1192e73061d329 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 9 May 2018 10:20:39 +0200 Subject: [PATCH] lang/nim: add doctor.el #568 --- modules/lang/nim/doctor.el | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 modules/lang/nim/doctor.el diff --git a/modules/lang/nim/doctor.el b/modules/lang/nim/doctor.el new file mode 100644 index 000000000..788238c98 --- /dev/null +++ b/modules/lang/nim/doctor.el @@ -0,0 +1,9 @@ +;; -*- lexical-binding: t; no-byte-compile: t; -*- +;;; lang/nim/doctor.el + +(unless (executable-find "nimsuggest") + (warn! "Could not find nimsuggest executable; code-completion, syntax checking and jump-to-definition functionality will be disabled.")) + +(unless (executable-find "nim") + (warn! "Could not find nim executable; build commands will be disabled.")) +