summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoload/ale/sign.vim3
-rw-r--r--test/test_sign_parsing.vader3
2 files changed, 5 insertions, 1 deletions
diff --git a/autoload/ale/sign.vim b/autoload/ale/sign.vim
index b5e9c075..e2b3fa74 100644
--- a/autoload/ale/sign.vim
+++ b/autoload/ale/sign.vim
@@ -42,7 +42,8 @@ function! ale#sign#ParseSigns(line_list) abort
" line=4 id=1 name=ALEErrorSign
" строка=1 id=1000001 имя=ALEErrorSign
" 行=1 識別子=1000001 名前=ALEWarningSign
- let l:pattern = '^.*=\d* .*=\(\d\+\) .*=ALE\(Warning\|Error\|Dummy\)Sign'
+ " línea=12 id=1000001 nombre=ALEWarningSign
+ let l:pattern = '^.*=\d*\s\+.*=\(\d\+\)\s\+.*=ALE\(Warning\|Error\|Dummy\)Sign'
let l:id_list = []
diff --git a/test/test_sign_parsing.vader b/test/test_sign_parsing.vader
index a61de0d3..f08024a1 100644
--- a/test/test_sign_parsing.vader
+++ b/test/test_sign_parsing.vader
@@ -6,3 +6,6 @@ Execute (Parsing Russian signs should work):
Execute (Parsing Japanese signs should work):
AssertEqual [1000001], ale#sign#ParseSigns([' 行=1 識別子=1000001 名前=ALEWarningSign'])
+
+Execute (Parsing Spanish signs should work):
+ AssertEqual [1000001], ale#sign#ParseSigns([' línea=12 id=1000001 nombre=ALEWarningSign'])