Skip to content

Commit

Permalink
Check for grep
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin M. Keyes committed Apr 1, 2013
1 parent 989ad9b commit 15dc21a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.mkd
Original file line number Diff line number Diff line change
Expand Up @@ -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 Vim supports signs (`:echo has('signs')` should give `1`).
* 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
Expand Down
2 changes: 1 addition & 1 deletion plugin/gitgutter.vim
Original file line number Diff line number Diff line change
@@ -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
endif
let g:loaded_gitgutter = 1
Expand Down

0 comments on commit 15dc21a

Please sign in to comment.