When we press RET to move to next line without inserting anything, the
trailing whitespace (used for indentation) is left there
forever. clean-aindent-mode is used for cleaning up such whitespace
automatically. See Emacswiki page for demo:
http://www.emacswiki.org/emacs/CleanAutoIndent.
Fix activation of auto-complete
Sort packages
Improvement with hook usage
Move opam init function in funcs.el and call it only in tuareg config
Fix errors if opam is not installed, warn if it has not been found
Small edition of the README
Rename additional REPL functions with spacemacs prefix
Using the prefix argument does not work nicely with evil since it is
already used to paste several times. Instead we use the universal
argument. To make it work with the evil functions we have to do some
trick to hide the universal argument temporarily (see around advice).
This is a nice feature taken from Prelude. This commit advises yank and
yank-pop and evil-paste-after to indent after pasting, unless a prefix
arugment is specified or the major mode is one of
spacemacs-indent-sensitive-modes.
Conflicts:
contrib/better-defaults/README.md
It is not needed in this case because a post-init does not mark
the package as used (so if there is not init function for company
it won't be installed and the post-init function won't be evaluated)
It is reported in this issue: https://github.com/company-mode/company-mode/issues/180
that company has distorted completion popup with fci-mode turned on.
Company maintainer proposed a fix for this issue that is added in this
commit.
Having fci-mode to visually indicate the limit of commit message region
is nice. With it, we know exactly our text does not cross the limit (i.e
72 columns). Sometimes, text can cross the boundary if we add something
but use C-n or j to move to next line.
The current color is unreadable in dark theme since it uses
black. Change it to a color that readable in both dark and light theme.
Bonus: it looks nice in solarized light.