I am using the Spacemacs configuration files.
When I am typing code, electric-indent-mode reindents the current line whenever I press enter. This often causes the indentation to be incorrect when working in languages like Python or Haskell.
Here is an example of the problem
How can I prevent this re-indentation?