Skip to content

Commit c06ed71

Browse files
committed
Emits error only if in vim
1 parent c2a4032 commit c06ed71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ftplugin/python/pydocstring.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ let s:save_cpo = &cpo
99
set cpo&vim
1010

1111
" version check
12-
if !has('channel') || !has('job')
12+
if !has('nvim') && (!has('channel') || !has('job'))
1313
echoerr '+channel and +job are required for pydocstring.vim'
1414
finish
1515
endif

0 commit comments

Comments
 (0)