-
Notifications
You must be signed in to change notification settings - Fork 46
Home
Yuta Yamada edited this page Sep 3, 2017
·
2 revisions
Welcome to the nim-mode wiki!
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
.
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)