mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Handle multiple files localtion lists with gcc handler (#1034)
Handle multiple files in the GCC handler.
This commit is contained in:
@@ -20,7 +20,8 @@ Before:
|
||||
let l:actual_sign_list = []
|
||||
|
||||
for l:line in split(l:output, "\n")
|
||||
let l:match = matchlist(l:line, 'line=\(\d\+\).*name=\(ALE[a-zA-Z]\+\)')
|
||||
let l:match = matchlist(l:line, '\m\s*line=\(\d\+\).*name=\(ALE[a-zA-Z]\+\)')
|
||||
|
||||
|
||||
if len(l:match) > 0
|
||||
call add(l:actual_sign_list, [l:match[1], l:match[2]])
|
||||
|
||||
Reference in New Issue
Block a user