Changed tabs into spaces and removed unnecessary tailing spaces in plugin

Changed tabs into spaces and removed unnecessary tailing spaces in plugin.
No logic changed.