From 79f18e7d87e426fcd5af9dd6e84067c301ae5fa4 Mon Sep 17 00:00:00 2001 From: Manuel Unno Vio Date: Thu, 2 Mar 2017 12:17:43 +0100 Subject: [PATCH] Update sign regex for LANG = it_IT.UTF-8 I've noticed that signs weren't unplaced and, learning that this was an issue depending on locale and :sign place, I've fixed the regular expression used to match those messages in my locale (it_IT.UTF-8). --- autoload/ale/sign.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autoload/ale/sign.vim b/autoload/ale/sign.vim index 9d613480..e95de58f 100644 --- a/autoload/ale/sign.vim +++ b/autoload/ale/sign.vim @@ -35,7 +35,9 @@ function! ale#sign#ParseSigns(line_list) abort " строка=1 id=1000001 имя=ALEErrorSign " 行=1 識別子=1000001 名前=ALEWarningSign " línea=12 id=1000001 nombre=ALEWarningSign - let l:pattern = '^.*=\d*\s\+.*=\(\d\+\)\s\+.*=ALE\(Warning\|Error\|Dummy\)Sign' + " riga=1 id=1000001, nome=ALEWarningSign + let l:pattern = '^.*=\d*\s\+.*=\(\d\+\)\,\?\s\+.*=ALE\(Warning\|Error\|Dummy\)Sign' + let l:id_list = []