Fix strange company-mode behaviour when completing at the end of a buffer.
Disable show-trailing-whitespace in cider-repl-mode.