During Vim editing, We must have to delete unnecessary trailing whitespace which make code easy to read or merge.
So you can add .vimrc file in /YOUR_HOME_PATH/
1 2 |
|
Add below contents then save and exit.
1 2 3 |
|
Enjoy it.
Reference : vim 顯示多餘空白( trailing whitespace )