summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Unno Vio <manuelvio@libero.it>2017-03-02 12:17:43 +0100
committerGitHub <noreply@github.com>2017-03-02 12:17:43 +0100
commit79f18e7d87e426fcd5af9dd6e84067c301ae5fa4 (patch)
tree08665cd2f1cfd3000876042bfa75e95b7f164c73
parent18508f74532f41aa4c66a5e217550f00d150a30d (diff)
downloadale-79f18e7d87e426fcd5af9dd6e84067c301ae5fa4.zip
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).
-rw-r--r--autoload/ale/sign.vim4
1 files changed, 3 insertions, 1 deletions
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 = []