Skip to content

Commit

Permalink
Fix comparison to be case sensitive
Browse files Browse the repository at this point in the history
Closes airblade#836.
  • Loading branch information
airblade committed May 24, 2022
1 parent 719d4ec commit ded1194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/gitgutter/diff_highlight.vim
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function! s:common_prefix(a, b)
return -1
endif
for i in range(len)
if a:a[i:i] != a:b[i:i]
if a:a[i:i] !=# a:b[i:i]
return i - 1
endif
endfor
Expand Down

0 comments on commit ded1194

Please sign in to comment.