Skip to content
Yuta Yamada edited this page Sep 3, 2017 · 2 revisions

Welcome to the nim-mode wiki!

Note (9/5/2016)

company-mode's configuration (adding company-backends) is no longer required for auto-completion. capf (completion-at-point-function), which is Emacs's default feature was added and company-mode also support this feature as backend for auto-completion.

So, you can remove below configuration if you have:

(add-to-list 'company-backends
               '(company-nim :with company-nim-builtin))

Also nimsuggest-mode was newly added. So if you were already using nim-mode, please take a look nimsuggest's installing section to activate nimsuggest-mode.

auto-indent mode

If you use auto-indent-mode, you need to add nim-mode to the list of auto-indent-multiple-indent-modes`, but this may or may not work for what you intent because nim's indentation has semantic meaning and auto-indenting may break the semantics:

(add-to-list 'auto-indent-multiple-indent-modes 'nim-mode)
Clone this wiki locally