igrigorik/vimgolf — Issue #78: alignment in Vim appears different from diff
Author: bonsaiben
Created: 2011-12-11 02:20:26+00:00
State: open

In Vim, the alignment looks correct (the colons are vertically aligned perfectly):

I18n.t(:subject,
:scope => [mailer_scope, action_name],
:default => action_name.humanize)

But in the diff, the bottom two lines seem to be two spaces further back:

3,5c3,5
< I18n.t(:subject,
<	:scope => [mailer_scope, action_name],
<	:default => action_name.humanize)
---
> I18n.t(:subject,
> :scope => [mailer_scope, action_name],
> :default => action_name.humanize)

This occurs after dropping part of a single line down "i" and Vim indents it automatically.