Make vim async lint function global

This commit is contained in:
Talia 2020-08-19 08:13:31 +02:00
parent a76a9754e1
commit ce8f849baf

View file

@ -20,7 +20,7 @@ function s:async_lint_abort(bufnr)
call setbufvar(a:bufnr, "lint_job", "")
endfun
function s:async_lint(bufnr, command)
function AsyncLint(bufnr, command)
if getbufvar(a:bufnr, "lint_job")==""
let l:buffer = []
let l:job = job_start(a:command, {