mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-21 17:18:38 +08:00
Fix: sign pattern
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user