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>
This commit is contained in:
Henrik Lissner 2024-03-05 02:29:18 -05:00
parent aad8ec1895
commit 79429ecc56
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
3 changed files with 5 additions and 6 deletions

View file

@ -1,4 +1,3 @@
;;; lang/nim/doctor.el
(unless (executable-find "nimsuggest")
@ -8,5 +7,5 @@
(warn! "Could not find nim executable; build commands will be disabled."))
(when (modulep! :editor format)
(unless (executable-find "nimfmt")
(warn! "Could not find nimfmt. Formatting will be disabled.")))
(unless (executable-find "nimpretty")
(warn! "Could not find nimpretty. Formatting will be disabled.")))