doomemacs/modules/lang/nim
Henrik Lissner 09cb4f6716
Major refactor & optimization of how modules load their packages
Now that we are loading package autoloads files (as part of the
generated doom-package-autoload-file when running make autoloads), many
:commands properties are redundant. In fact, many def-package! blocks
are redundant.

In some cases, we can do without a config.el file entirely, and can move
into the autoloads file or rely entirely on package autoloads.

Also, many settings have been moved in their module's autoloads files,
which makes them available ASAP; their use no longer depends on module
load order.

This gained me a modest ~10% boost in startup speed.
2018-05-25 00:46:16 +02:00
..
config.el Major refactor & optimization of how modules load their packages 2018-05-25 00:46:16 +02:00
doctor.el lang/nim: add doctor.el #568 2018-05-09 10:22:28 +02:00
packages.el
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