Handle non-English locales.

This commit is contained in:
Andy Stewart
2013-03-13 14:55:22 +01:00
parent fe2b4ec869
commit 15ee31acf4

View File

@@ -308,8 +308,8 @@ function! s:find_other_signs(file_name)
redir END redir END
let s:other_signs = [] let s:other_signs = []
for sign_line in split(signs, '\n') for sign_line in split(signs, '\n')
if sign_line =~ '^\s\+line' if sign_line =~ '^\s\+\w\+='
let matches = matchlist(sign_line, '^\s\+line=\(\d\+\)') let matches = matchlist(sign_line, '^\s\+\w\+=\(\d\+\)')
let line_number = str2nr(matches[1]) let line_number = str2nr(matches[1])
call add(s:other_signs, line_number) call add(s:other_signs, line_number)
endif endif