Simplfy semver handling and share the semver version cache across everything

This commit is contained in:
w0rp committed 2017-11-09 23:42:54 +00:00
1 parent c1fa88e78c
commit d425b8a18a
12 files changed
+133 -188

No files matched your search

-12
View File
@@ -18,18 +18,6 @@ function! s:RemoveUnicodeQuotes(text) abort
return l:text
endfunction
function! ale#handlers#gcc#ParseGCCVersion(lines) abort
for l:line in a:lines
let l:match = matchstr(l:line, '\d\.\d\.\d')
if !empty(l:match)
return ale#semver#Parse(l:match)
endif
endfor
return []
endfunction
function! ale#handlers#gcc#HandleGCCFormat(buffer, lines) abort
" Look for lines like the following.
"