-
Notifications
You must be signed in to change notification settings - Fork 299
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
Not working #6
Comments
If you fire up Vim and type Assuming it is, open up a file being tracked by git. Type |
Ah, the script is listed in
|
What happens if you do It should give you the git help stuff you see when you type |
Yeah, Prints out the standard git stuff...
|
Hmm, when you edit a file which is being tracked by git, and you type |
Absolutely nothing, no errors, no visual changes. I am definitely working on a file tracked by git, with uncommited changes as well... |
No errors means Vim has correctly loaded the GitGutter function. Silly question but have you saved your uncommitted changes to disk? |
I've tried everything, editing a file, deleting lines, saving, not saving. You can see the little red plus on my powerline there shows that git's "dirty" |
Weird. Does |
nope, get this error
Sorry about all this hassle :) |
No worries, I'm sorry for the hassle for you :) The only way for
Your screenshot shows that all three are true so somehow the plugin is getting confused. |
What does And how about this:
Should be And finally:
Again, should be |
returns |
Could it have something to do with how ctrlp loads files? I've tried using ctrlp or just regular And i'm double checking the folder i'm in with |
Progress...this is causing the plugin to think the file you're editing isn't in a git repo. Can you go to your shell,
Also, what version of git are you using? |
I don't think it concerns how the files are loaded. I using |
Those screenshots are very helpful BTW :) So the shell is behaving as expected, returning a status code of Perhaps it is something to do with zsh. I'm using bash and I haven't tested it on zsh. Let me do a little research into Vim/zsh and see if I find anything. |
Thanks, really appreciated it :) Here are my dotfiles, just in case |
Works for me with zsh (on osx). |
Would it matter if my vim and terminal are using different versions of git? Seems vim's loading |
@tonio That's useful to know, thanks. @wayneashleyberry My Vim's using |
check this out though
the mentioned line 62 being:
|
That's probably a 1.8+ option? |
Possibly... |
yup, took it out - the plugin worked instantly :) thanks for all the help! |
Great news! |
Thanks @wayneashleyberry! I had the same not working issue - Thanks for the idea to run git status in vim - My issue was due to not having accepted the Xcode license. |
Using MacVim 7.3.754 installed via Homebrew on OSX 10.8.2
I was already using pathogen with all my plugins, cloned this repo but it just didn't do anything.
Is there any way to test if the plugin's actually loaded?
The other plugins I have installed are,
The text was updated successfully, but these errors were encountered: