Suppress signs when there are more than 500.

This commit is contained in:
Andy Stewart
2014-07-21 16:36:16 +02:00
parent fed2dbad34
commit 83ace2014a
4 changed files with 18 additions and 0 deletions

View File

@@ -2,6 +2,12 @@ let s:file = ''
let s:using_xolox_shell = -1
let s:exit_code = 0
function! gitgutter#utility#warn(message)
echohl WarningMsg
echomsg 'vim-gitgutter: ' . a:message
echohl None
let b:warningmsg = a:message
endfunction
function! gitgutter#utility#is_active()
return g:gitgutter_enabled && gitgutter#utility#exists_file()