Fix: sign pattern

This commit is contained in:
cympfh 2016-12-15 13:57:26 +09:00
parent 4ad5c4757c
commit 8df2444ec4

View File

@ -31,7 +31,7 @@ function! ale#sign#FindCurrentSigns(buffer) abort
" Matches output like : " Matches output like :
" line=4 id=1 name=ALEErrorSign " line=4 id=1 name=ALEErrorSign
" строка=1 id=1000001 имя=ALEErrorSign " строка=1 id=1000001 имя=ALEErrorSign
let l:pattern = 'id=\(\d\+\).*=ALE\(Warning\|Error\|Dummy\)Sign' let l:pattern = '^.*=\d* .*=\(\d\+\) .*=ALE\(Warning\|Error\|Dummy\)Sign'
redir => l:output redir => l:output
silent exec 'sign place buffer=' . a:buffer silent exec 'sign place buffer=' . a:buffer