Files
doomemacs/modules/lang/nim
James Ravn fd2788c268 bump: :lang nim
nim-lang/nim-mode@d832d6b1fb -> nim-lang/nim-mode@744e076f0b

Includes nim-suggest.el fix for nim-mode on Emacs 27+ (void function
error).

Ref: nim-lang/nim-mode@744e076f0b
2021-12-13 18:48:25 +01:00
..
2020-08-20 21:38:49 -04:00
2018-05-09 10:22:28 +02:00
2021-12-13 18:48:25 +01:00

:lang Nim

This module is a work in progress.

This module adds Nim support to Emacs.

  • Code completion (nimsuggest + company)
  • Syntax checking (nimsuggest + flycheck)
  • Babel support (ob-nim)

Table of Contents   TOC

Module Flags

This module provides no flags.

Prerequisites

  • nim (for building & evaluation)
  • nimsuggest (for code completion, syntax checking & jump-to-definition functionality)

Nim

choosenim is an installer and version manager for the Nim programming language. You can install the latest stable release of Nim by running the following in your terminal and following the onscreen instructions:

curl https://nim-lang.org/choosenim/init.sh -sSf | sh

Alternatively, nim is usually available through your OS's package manager:

MacOS

brew install nim

Arch Linux

sudo pacman --needed --noconfirm -S nim nimble

openSUSE

sudo zypper install nim

Configuration