Skip to content

Unknown function: job_start #85

@good-idea

Description

@good-idea

I've updated to 2.0 and am getting this error when running :JsDoc:

Error detected while processing function jsdoc#insert[28]..275:
line    5:
E117: Unknown function: job_start
E15: Invalid expression: job_start(a:cmd, { 'callback': {_, m -> a:cb(m, a:start_lineno, a:is_method)}, 'exit_cb': {_, m -> a:ex_cb(m)}, 'in_mode': 'nl', })
line   11:
E121: Undefined variable: s:job
E116: Invalid arguments for function job_getchannel
E15: Invalid expression: job_getchannel(s:job)
line   12:
E121: Undefined variable: channel
E116: Invalid arguments for function ch_status
E15: Invalid expression: ch_status(channel) ==# 'open'

I installed lehre globally with yarn global add lehre, and added this to my .vimrc:

let g:jsdoc_lehre_path = '/usr/local/bin/lehre'

where /usr/local/bin/lehre is what is returned when I run which lehre in the command line.

Anything I can do here? Is this a problem with a global install of lehre?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions