Skip to content

Commit

Permalink
Handle non-English locales.
Browse files Browse the repository at this point in the history
  • Loading branch information
airblade committed Mar 13, 2013
1 parent fe2b4ec commit 15ee31a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/gitgutter.vim
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ function! s:find_other_signs(file_name)
redir END
let s:other_signs = []
for sign_line in split(signs, '\n')
if sign_line =~ '^\s\+line'
let matches = matchlist(sign_line, '^\s\+line=\(\d\+\)')
if sign_line =~ '^\s\+\w\+='
let matches = matchlist(sign_line, '^\s\+\w\+=\(\d\+\)')
let line_number = str2nr(matches[1])
call add(s:other_signs, line_number)
endif
Expand Down

0 comments on commit 15ee31a

Please sign in to comment.