Closed fhopecc closed 2 years ago
I'm not very sure about your situation, but the error message tells one important thing. C:\Users\{username}\vimfiles\plugin
is not the place to put repositories. Neither is the place to install plugins by vim-plug. I guess the plugin is misplaced accidentally. All the vim script files under the directory, I mean including tremendous test files, will be loaded when vim starts up. Probably, that's the reason why you got the message.
First, you should remove the directory C:\Users\{username}\vimfiles\plugin\vim-sandwich
and all the files in it. Then, follow the instructions on installing vim plugins of vim-plug.
Thanks for yourhelp. I check out the vim-plug document and found the following warning:
" You can specify a custom plugin directory by passing it as the argument
" - e.g. call plug#begin('~/.vim/plugged')
" - Avoid using standard Vim directory names like 'plugin'
I has specified the custom plugin directory as standard Vim directory 'plugin'. After changed the custom plugin directory, this plugin is worked. Thank you
The Enviroment: Windows 10, gvim 8.2 (zh-tw language)
When I installed 'sandwich' with vim-plug, then restart gvim will report errors as following(including some Chinese chars) and shutdown gvim instantly:
Howto resolve this problem?