Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.37 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.37 KB

flycheck-nim - Flycheck for Nim

License GPL 3

Flycheck-nim is a syntax checker definition for flycheck which supports the Nim programming language using the nim compiler as the backend.

Installation

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.

Options

Flycheck-nim supports several options that allow for more user configurable checking. These include:

  • flycheck-nim-experimental: Enables the --experimental flag when non-nil
  • flycheck-nim-threads: Sets --threads:on flag when non-nil (on by default)
  • flycheck-nim-hints: Enable or disable compiler hints
  • flycheck-nim-warnings: Enable or disable compiler warnings
  • flycheck-nim-specific-hints: Enable or disable specific hints
  • flycheck-nim-specific-warnings: Enable or disable specific warnings
  • flycheck-nim-args: Any other compiler option the user chooses