-
Notifications
You must be signed in to change notification settings - Fork 46
Tips, FAQ
Yuta Yamada edited this page Oct 7, 2017
·
1 revision
You can check the help by pressing Meta (or Alt) + x and then help-with-tutorial
.
It open a help buffer which you can edit and has some basic Emacs' keybindings.
The main difference between those two checkers are the source of command. flycheck-nimsuggest' use nimsuggest as the backend and flycheck-nim uses
nim check` command. You can configure nim way using
flycheck-nimsuggest whereas flycheck-nim may need to configure emacs' variables.
delete-trailing-whitespace
is the way to do.
;; delete whitespaces before you save
(add-hook 'before-save-hook 'delete-trailing-whitespace)
(add-hook 'nim-mode-hook 'whitespace-mode)
(add-hook 'nimscript-mode-hook 'whitespace-mode)