doom-emacs/modules/lang/nim/doctor.el
Henrik Lissner 4559a61d2c
fix(nim): swap nimfmt with nimpretty
Nim 2.x+ comes with its own formatter (nimpretty).

Close: #7578
Co-authored-by: pietrangelo <pietrangelo@users.noreply.github.com>
2024-05-21 17:16:51 +02:00

11 lines
456 B
EmacsLisp

;;; 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."))
(when (modulep! :editor format)
(unless (executable-find "nimpretty")
(warn! "Could not find nimpretty. Formatting will be disabled.")))