Nim 2.x+ comes with its own formatter (nimpretty). Close: #7578 Co-authored-by: pietrangelo <pietrangelo@users.noreply.github.com>
11 lines
456 B
EmacsLisp
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.")))
|