Skip to content

Commit a907061

Browse files
committed
Fix revert version check
1 parent c9ab531 commit a907061

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ftplugin/python/pydocstring.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ let s:save_cpo = &cpo
99
set cpo&vim
1010

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

1717
command! -nargs=0 -range=0 -complete=customlist,pydocstring#insert Pydocstring call pydocstring#insert(<q-args>, <count>, <line1>, <line2>)
1818
command! -nargs=0 -complete=customlist,pydocstring#format PydocstringFormat call pydocstring#format()

0 commit comments

Comments
 (0)