Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

echoerr '+channel and +job are required for pydocstring.vim' #71

Closed
dc-avasilev opened this issue Feb 25, 2020 · 2 comments · Fixed by #72
Closed

echoerr '+channel and +job are required for pydocstring.vim' #71

dc-avasilev opened this issue Feb 25, 2020 · 2 comments · Fixed by #72

Comments

@dc-avasilev
Copy link

ftplugin/python/pydocstring.vim:13
all time see that error when open python file =(
nv -v

NVIM v0.5.0-7fef0f8db
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/tmp/neovim-20191128-44866-1ykypi9/build/config -I/tmp/neovim-20191128-44866-1ykypi9/src -I/usr/local/include -I/tmp/neovim-20191128-44866-1ykypi9/deps-build/include -I/usr/local/opt/gettext/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -I/tmp/neovim-20191128-44866-1ykypi9/build/src/nvim/auto -I/tmp/neovim-20191128-44866-1ykypi9/build/include
Compiled by User

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/HEAD-7fef0f8/share/nvim"

Run :checkhealth for more info
OS: 64bit Mac OS X 10.15.3 19D76
 Kernel: x86_64 Darwin 19.3.0
 Uptime: 1h 50m
 Packages: 544
 Shell: zsh 5.8
 Resolution: 2880x1800 ,1920x1080 ,1920x1080
 DE: Aqua
 WM: Quartz Compositor
 WM Theme: Graphite (Dark)
 Disk: 12G / 500G (27%)
 CPU: Intel Core i7-7820HQ @ 2.90GHz
 GPU: Radeon Pro 560 / Intel HD Graphics 630
 RAM: 7686MiB / 16384MiB
@heavenshell
Copy link
Owner

Sorry, currently Neovim is not supported.

I'm not Neovim user and I don't have any knowledge and Neovim environment.
Feel free to send me PR.

@dc-avasilev
Copy link
Author

sad, i can't send you PR i just QA not a programmer
i try set "if" for exclude check, but i have error =(

if !has('nvim')
  if !has('channel') || !has('job')
    echoerr '+channel and +job are required for pydocstring.vim'
    finish
  endif
endif
Error detected while processing function pydocstring#insert[31]..<SNR>480_execute:
line   12:
E117: Unknown function: job_start
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', })

that's all what i can do

https://neovim.io/doc/user/job_control.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants