heavenshell / vim-pydocstring

Generate Python docstring to your Python source code.
BSD 3-Clause "New" or "Revised" License
337 stars 53 forks source link

Than set installed doq path to g:pydocstring_doq_path. #75

Closed m9631m closed 4 years ago

m9631m commented 4 years ago

How should I do this?? I am using 1.0.0 on vim 7.4.

$which doq
/home/user/anaconda3/bin/doq

in vim I use let g:pydocstring_doq_path. = '/home/user/anaconda3/bin/doq'

then when I try :Pydocstring I get this

Error detected while processing function pydocstring#insert[31]..<SNR>34_execute:
line   12:
E121: Undefined variable: c
E116: Invalid arguments for function job_start(a:cmd, { 'callback': {c, m -> a:cb(c, m, a:indent, a:start_lineno)}, 'exit_cb': {c, m -> a:ex_cb(c, m)}, 'in_mode': 'nl', })
E15: Invalid expression: job_start(a:cmd, { 'callback': {c, m -> a:cb(c, m, a:indent, a:start_lineno)}, 'exit_cb': {c, m -> a:ex_cb(c, m)}, 'in_mode': 'nl', })
heavenshell commented 4 years ago

pydocstring.vim 2.0.0 required job and channel feature. I check Vim8.0.1633 can use. I recommend to update Vim.