curtismchale/WPTT-Vim-Config — pull request #33 by salcode (2014-05-06 03:44:45+00:00)
Title: Limit remove trailing whitespace by filetype

Addresses Issue #30
Limit remove trailing whitespace automatically on save
by filetype. Only remove on these filetypes c,cpp,java,php,javascript
(i.e. whitelisting)

Motivation to add this restriction is markdown files specifically.

Based on http://vim.wikia.com/wiki/Remove_unwanted_spaces