spacemacs/layers/+lang/nim
syl20bnr f45ce1a88e syntax-checking: rename function add-flycheck-hook to enable-flycheck
spacemacs/add-flycheck-hook was not really hooking anything, change the name
to better reflect what it does.
Also changed the push for a add-to-list to avoid duplicates.
2017-03-19 12:40:36 -04:00
..
img
README.org
config.el
packages.el syntax-checking: rename function add-flycheck-hook to enable-flycheck 2017-03-19 12:40:36 -04:00

README.org

Nim layer

/TakeV/spacemacs/media/commit/dc5781f715eb3d8465b5c135a32ff9398aa28190/layers/+lang/nim/img/logo.png

Description

This layer provides the following features for Nim:

  • Code completion.
  • Jump to definition.
  • Syntax checking.

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add nim to the existing dotspacemacs-configuration-layers list in this file.

For syntax checking, the syntax-checking layer must also be added.

For all the features to work properly, nimsuggest must be installed properly and nimsuggest binary must be in $PATH.

Working with Nim

Nim commands (start with m):

Key Binding Description
SPC m c r nim compile run main.nim
SPC m g g or M-. Jump to definition
SPC m g b or M-, Jump back