Skip to content

Commit

Permalink
Provide fallback sign for when a Vim cannot handle overbar.
Browse files Browse the repository at this point in the history
  • Loading branch information
airblade committed May 8, 2015
1 parent 937930e commit 339f8ba
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion plugin/gitgutter.vim
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ call s:set('g:gitgutter_eager', 1)
call s:set('g:gitgutter_sign_added', '+')
call s:set('g:gitgutter_sign_modified', '~')
call s:set('g:gitgutter_sign_removed', '_')
call s:set('g:gitgutter_sign_removed_first_line', '')
try
call s:set('g:gitgutter_sign_removed_first_line', '')
catch /E239/
let g:gitgutter_sign_removed_first_line = '_^'
endtry

call s:set('g:gitgutter_sign_modified_removed', '~_')
call s:set('g:gitgutter_diff_args', '')
call s:set('g:gitgutter_escape_grep', 0)
Expand Down

0 comments on commit 339f8ba

Please sign in to comment.