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

Commands not defined when opening via file-line plugin #602

Closed
pbrisbin opened this issue Feb 6, 2015 · 1 comment
Closed

Commands not defined when opening via file-line plugin #602

pbrisbin opened this issue Feb 6, 2015 · 1 comment

Comments

@pbrisbin
Copy link

pbrisbin commented Feb 6, 2015

I'm not sure where this bug is, so I apologize if it's not in fugitive.

I've created a minimal reproducing repo here: https://github.com/pbrisbin/fugitive-bug, the following should show the bug:

  • git clone https://github.com/pbrisbin/fugitive-bug && cd fugitive-bug
  • vim -u vimrc foo.md +5
  • Notice that :GDiff etc work as expected
  • vim -u vimrc foo.md:5
  • Notice that :GDiff etc are not defined

Thanks!

@pbrisbin pbrisbin changed the title Doesn't seem to work when opening via file-line plugin Commands not defined when opening via file-line plugin Feb 6, 2015
@tpope
Copy link
Owner

tpope commented Feb 8, 2015

Fugitive doesn't do anything more complicated than autocmd BufReadPost, so I am quite confident in blaming whatever weird trick file-line is doing until demonstrated otherwise.

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

No branches or pull requests

2 participants