mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 03:53:47 -05:00
@@ -218,6 +218,7 @@ Here are some things you can check:
|
|||||||
* Your git config is compatible with the version of git which your Vim is calling (`:echo system('git --version')`).
|
* Your git config is compatible with the version of git which your Vim is calling (`:echo system('git --version')`).
|
||||||
* Your Vim supports signs (`:echo has('signs')` should give `1`).
|
* Your Vim supports signs (`:echo has('signs')` should give `1`).
|
||||||
* Your file is being tracked by git and has unstaged changes.
|
* Your file is being tracked by git and has unstaged changes.
|
||||||
|
* `grep` is on your path and available to Vim (`:echo executable('grep')` should return 1)
|
||||||
|
|
||||||
|
|
||||||
### Alternatives
|
### Alternatives
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
if exists('g:loaded_gitgutter') || !executable('git') || !has('signs') || &cp
|
if exists('g:loaded_gitgutter') || !executable('git') || !executable('grep') || !has('signs') || &cp
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
let g:loaded_gitgutter = 1
|
let g:loaded_gitgutter = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user