The nimsuggest plugin tries to build a unique path for temporary files for its flycheck checker. This path contains /tmp/emacs-nim-mode/A/B, where A is the frame ID and B is the full path to the file being checked. However, the original `nimsuggest--get-dirty-dir' incorrectly extracts the frame ID from the string representation of `selected-frame' if frame-title-format has been modified (which Doom has). The result is the title of the frame, which can contain illegal path characters in Windows, which in turn causes invalid argument errors when `nimsuggest--make-tempdir' tries to use it. This should really be reported upstream! |
||
---|---|---|
.. | ||
config.el | ||
doctor.el | ||
packages.el | ||
README.org |
: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