doomemacs/modules/lang/nim
Henrik Lissner 82ae3a73f3
def-advice!->defadvice! & conform to new advice conventions
This commit does two things:

- Renames def-advice! to defadvice!, in the spirit of naming convenience
  macros after the function/macro they enhance or replace.
- Correct the names of advice functions to indicate visibility and
  intent. A public advice function like doom-set-jump-a is meant to be
  used elsewhere. A private one like +dired--cleanup-header-line-a
  shouldn't -- it likely won't work anywhere but the function(s) it was
  made to advise.
2019-07-23 17:24:56 +02:00
..
config.el def-advice!->defadvice! & conform to new advice conventions 2019-07-23 17:24:56 +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