mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-07 12:47:30 -05:00
Nim 2.x+ comes with its own formatter (nimpretty). Close: #7578 Co-authored-by: pietrangelo <pietrangelo@users.noreply.github.com>
12 lines
456 B
EmacsLisp
12 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.")))
|