Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use :argdo instead of :bufdo in s:startup #34

Merged
merged 2 commits into from
Dec 3, 2014
Merged

Use :argdo instead of :bufdo in s:startup #34

merged 2 commits into from
Dec 3, 2014

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Dec 3, 2014

Drop calls to doautocmd FileType and doautocmd BufEnter - only
Syntax needs to be called manually.
Not sure about the call to :diffthis for &diff - is vimdiff foo:5 bar:6 supposed to work?

Drop calls to `doautocmd FileType` and `doautocmd BufEnter` - only
`Syntax` needs to be called manually.
Not sure about the call to `:diffthis` for `&diff` - is `vimdiff foo:5
bar:6` supposed to work?
@drougas
Copy link

drougas commented Dec 3, 2014

The call to :diffthis is used because diff mode was turned off for the first buffer. vimdiff foo:5 bar:6 still doesn't work, but without it, vimdiff foo bar would end up with foo having diff mode off. Has this behavior changed with :argdo?

bogado added a commit that referenced this pull request Dec 3, 2014
Use `:argdo` instead of `:bufdo` in `s:startup`
@bogado bogado merged commit a1381d0 into bogado:master Dec 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants