doomemacs/modules/lang/nim/doctor.el
Henrik Lissner 79429ecc56
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-03-11 00:53:43 -04: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.")))