Enforce foldmethod=syntax in commits

Closes #432.