doomemacs/modules/lang/nim
Henrik Lissner 76cacb5bfe
💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
..
config.el 💥 Rename def-package! -> use-package! 2019-07-23 12:50:45 +02:00
doctor.el lang/nim: add doctor.el #568 2018-05-09 10:22:28 +02:00
packages.el feature/{syntax-checker,spellcheck} -> tools/fly{check,spell} 2019-02-22 00:25:30 -05:00
README.org lang/nim: revise & conform readme to conventions #568 2018-05-09 10:22:24 +02: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

Configuration