Skip to content

Commit 3cc5f02

Browse files
authored
Fix E1208 error raised (#111)
1 parent e9e8547 commit 3cc5f02

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ftplugin/javascript/jsdoc.vim

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ if !has('nvim') && (!has('channel') || !has('job'))
1414
finish
1515
endif
1616

17-
command! -nargs=0 -range=0 -complete=customlist,jsdoc#insert JsDoc call jsdoc#insert(<q-args>, <count>, <line1>, <line2>)
18-
command! -nargs=0 -complete=customlist,jsdoc#format JsDocFormat call jsdoc#format()
17+
command! -range=0 JsDoc call jsdoc#insert(<q-args>, <count>, <line1>, <line2>)
18+
command! JsDocFormat call jsdoc#format()
1919
nnoremap <silent> <buffer> <Plug>(jsdoc) :call jsdoc#insert()<CR>
2020
2121
let &cpo = s:save_cpo

ftplugin/typescript/jsdoc.vim

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ if !has('nvim') && (!has('channel') || !has('job'))
1414
finish
1515
endif
1616

17-
command! -nargs=0 -range=0 -complete=customlist,jsdoc#insert JsDoc call jsdoc#insert(<q-args>, <count>, <line1>, <line2>)
18-
command! -nargs=0 -complete=customlist,jsdoc#format JsDocFormat call jsdoc#format()
17+
command! -range=0 JsDoc call jsdoc#insert(<q-args>, <count>, <line1>, <line2>)
18+
command! JsDocFormat call jsdoc#format()
1919
nnoremap <silent> <buffer> <Plug>(jsdoc) :call jsdoc#insert()<CR>
2020
2121
let &cpo = s:save_cpo

0 commit comments

Comments
 (0)