Make vim async lint function global
This commit is contained in:
parent
a76a9754e1
commit
ce8f849baf
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ function s:async_lint_abort(bufnr)
|
||||||
call setbufvar(a:bufnr, "lint_job", "")
|
call setbufvar(a:bufnr, "lint_job", "")
|
||||||
endfun
|
endfun
|
||||||
|
|
||||||
function s:async_lint(bufnr, command)
|
function AsyncLint(bufnr, command)
|
||||||
if getbufvar(a:bufnr, "lint_job")==""
|
if getbufvar(a:bufnr, "lint_job")==""
|
||||||
let l:buffer = []
|
let l:buffer = []
|
||||||
let l:job = job_start(a:command, {
|
let l:job = job_start(a:command, {
|
||||||
|
|
Loading…
Reference in a new issue