Flycheck-nim is a syntax checker definition for flycheck which supports the Nim programming language using the nim compiler as the backend.
Obtain Flycheck from MELPA or your favorite source. Then, insure that
flycheck-nim.el
is in your load-path and add
(require 'flycheck-nim)
to your init.el
. Note that the mode being used for nim files must be either
nim-mode
or nimrod-mode
.
Flycheck-nim supports several options that allow for more user configurable checking. These include:
flycheck-nim-experimental
: Enables the--experimental
flag when non-nilflycheck-nim-threads
: Sets--threads:on
flag when non-nil (on by default)flycheck-nim-hints
: Enable or disable compiler hintsflycheck-nim-warnings
: Enable or disable compiler warningsflycheck-nim-specific-hints
: Enable or disable specific hintsflycheck-nim-specific-warnings
: Enable or disable specific warningsflycheck-nim-args
: Any other compiler option the user chooses