You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My vim version 8.2.3150 give the following warning with coc.vim installed Error detected while processing .vim/plugged/coc.nvim/plugin/coc.vim: line 484: E1208: -complete used without -nargsPress ENTER or type command to continue
Looking at the repo for coc.vim, the existing codebase matches what I have locally. Specifically, this line is the offender
Looking at the Vimscript docs, I see that the following attribute is included to allow for autocompletion for arguments:
-complete=custom,{func} custom completion, defined via {func}
However, line 484 of the plugin specifies 0 arguments, which makes the line seem unnecessary and is probably causing the warning. Should -complete-custom be removed?
Reproduce the bug
.vimrc:
2setlaststatus=23setnoshowmode4settabstop=45sethlsearch6setnocompatible" required7filetypeoff" required89callplug#begin('~/.vim/plugged')
1011 Plug 'neoclide/coc.nvim', {'branch': 'release'}
12 Plug 'preservim/nerdtree'13callplug#end()
1415" Enable folding16setfoldmethod=indent17setfoldlevel=9918" Enable folding with the spacebar19nnoremap<space>za2021let python_highlight_all=122syntaxon
Steps: Open any file w/ vim (v. 8.2.3150)
The text was updated successfully, but these errors were encountered:
Got rid of the error and I don't see any bugs as a result so far. If someone confirms that this is the appropriate way to handle this, I could submit a quick PR for it.
Describe the bug
My vim version 8.2.3150 give the following warning with coc.vim installed
Error detected while processing .vim/plugged/coc.nvim/plugin/coc.vim: line 484: E1208: -complete used without -nargsPress ENTER or type command to continue
Looking at the repo for coc.vim, the existing codebase matches what I have locally. Specifically, this line is the offender
Looking at the Vimscript docs, I see that the following attribute is included to allow for autocompletion for arguments:
However, line 484 of the plugin specifies 0 arguments, which makes the line seem unnecessary and is probably causing the warning. Should -complete-custom be removed?
Reproduce the bug
.vimrc:
Steps: Open any file w/ vim (v. 8.2.3150)
The text was updated successfully, but these errors were encountered: