-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
go#template#create error when using vim-fugitive :Gdiff #1399
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
Comments
I can't seem to reproduce this; I am using a default Neovim installation (0.2.0, not the latest beta) with just those two plugins in Maybe it's a problem with some specific configuration? |
I'll close this for now due to lack of feedback. Feel free to comment if you have further problems or questions and we can reopen this issue. |
@Carpetsmoker - apologies, yes I didn't get a chance to dig into this any further. If it raises its head again I'll certainly dig deeper. Thanks |
Hey there, I seem to experience a similar issue with vim-fugitive & vim-go.
|
@nathanmalishev I've seen similar issues, but haven't dug into a root cause yet. In your case, it looks like you may have |
@bhcleek thanks for the quick response. That seems to be the work around! |
@Carpetsmoker I can reproduce this as well..
Point 2. makes sense because the :Gdiff command compares an empty buffer ( :Gdiff works fine for me on all git tracked files No idea if PR #1516 will fix this as there are no changes to |
Behavior
See below.
Steps to reproduce:
NVIM v0.2.1-635-geb40b7ec4
go version go1.9beta2 linux/amd64
.go
file in a git controlled repo:Gdiff
to view the differences in that file between working tree and staged versionand the side-by-side diff fails to show.
Instead we should see the normal
:Gdiff
output.This error goes away if
g:go_template_autocreate = 0
(but then so does the templating of new.go
files)Configuration
As above.
The text was updated successfully, but these errors were encountered: