If anyone's interested, here's a small overload on top of whitespace.el[1] to customize the behavior on a per-file basis.