1

I'm using the flake8 linter for Python, which constantly complains about whitespace on empty lines and trailing whitespace on non-empty lines.

How can I configure Vim to automatically remove such whitespace, e.g. whenever I save the file?

Is there any good plugin for performing this operation?

muru
  • 24,838
  • 8
  • 82
  • 143
Shuzheng
  • 1,235
  • 8
  • 21

0 Answers0