Fix formatter for assignment operations (fixes #332, fixes #188)