doomemacs/modules/lang/nim
Henrik Lissner 1abcf913aa
revert: fix(docs): set mode in file-local vars
emacs-straight/org-mode@e22b4eb7aa introduced a breaking change that
made it impossible to rely on .dir-locals.el to change org-mode buffers
in $EMACSDIR to doom-docs-org-mode (without infinite recursion), so we
used file-local variables in 7e400ab.

emacs-straight/org-mode@215de6176b reverted that change, so we can use
.dir-locals.el again, and this is my preference, since it requires less
boilerplate across our hundreds of org files.

Ref: emacs-straight/org-mode@215de6176b
Ref: emacs-straight/org-mode@e22b4eb7aa
Revert: 7e400abdc0
2022-08-07 19:08:07 +02:00
..
config.el lang/nim: lazy load nim-mode 2020-08-20 21:38:49 -04:00
doctor.el lang/nim: add doctor.el #568 2018-05-09 10:22:28 +02:00
packages.el fix(nim): correct :lang nim SHA from last bump 2021-12-18 01:13:02 +01:00
README.org revert: fix(docs): set mode in file-local vars 2022-08-07 19:08:07 +02:00

:lang nim

Description   unfold

This module adds Nim support to Doom Emacs.

Maintainers

This module needs a maintainer. Become a maintainer?

Module flags

This module has no flags.

Hacks

  • nimsuggest was modified to strip invalid characters from its temp file paths (which would break nimsuggest on Windows systems).
  • nim-mode was modified to fail gracefully if nimsuggest (the executable) isn't available.

TODO Changelog

This module does not have a changelog yet.

Installation

Enable this module in your doom! block.

This module requires:

  • nim, for building & evaluation.
  • nimsuggest, for code completion, syntax checking, and 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: $ pacman --needed --noconfirm -S nim nimble
  • openSUSE: $ zypper install nim

TODO Usage

🔨 This module has no usage documentation yet. Write some?

TODO Configuration

🔨 This module has no configuration documentation yet. Write some?

Troubleshooting

There are no known problems with this module. Report one?

Frequently asked questions

This module has no FAQs yet. Ask one?

TODO Appendix

🔨 This module has no appendix yet. Write one?