A completion can not go with no arguments.#2
A completion can not go with no arguments.#2DehanLUO wants to merge 1 commit intoscrooloose:masterfrom
Conversation
|
I am also encountering the same error. |
|
Same error on both Windows 11 with Powershell and Arch Linux on bash and zshrc ( although it may not be relevant ) LE: This branch's fix worked for me, thank you! |
|
Had the same issue with Ubuntu 22.04 on a Macbook using ohmyzsh. I applied this fix locally and it worked. Thanks! |
|
The fix works like a charm, thanks ! |
|
Just switched Vundle entry to @DehanLUO 's repo in vimrc and back on track 💯 |
Song-Tianxiang
left a comment
There was a problem hiding this comment.
I think it's better change line 45 to:
command! -nargs=0 NERDTreeProjectLoadFromCWD call g:NERDTreeProject.LoadFromCWD()
There is no argument needed.
Yes. You are right.
Your version, Thanks. Have a good day! |
Reproduce the bug
~/.vim/vimrc
Open vim.
Describe the bug
My vim (8.2.3200) gives the following warning with the two plugins installed.
Looking at the repo for project.vim, the existing code causes the warning.
A completion should go with at least an argument, while -nargs=0 means no arguments are allowed. Changing to –nargs=?, specifying 0 or 1 arguments are allowed, can solve the problem.