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
config.el Bump year in copyright headers 2017-01-05 23:08:17 -05:00
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/9f3e656c8f9fc9b353657a92d58b30e36906fbcb/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