作者:刘小飘168585 | 来源:互联网 | 2023-12-14 14:44
本文讨论了在Windows8上安装gvim中插件时出现的错误加载问题。作者将EasyMotion插件放在了正确的位置,但加载时却出现了错误。作者提供了下载链接和之前放置插件的位置,并列出了出现的错误信息。
I seem to have put the EasyMotion plugin in the correct location, but now there's an error loading it... I downloaded "Lokaltog-vim-easymotion-1.3-0-g667a668.zip" from [here][1].
我似乎已将EasyMotion插件放在正确的位置,但现在加载它时出错......我从[here] [1]下载了“Lokaltog-vim-easymotion-1.3-0-g667a668.zip”。
I had previously put EasyMotion.vim in $HOME/vimfiles/plugin, which was giving the following error message:
我以前把EasyMotion.vim放在$ HOME / vimfiles / plugin中,它给出了以下错误信息:
>Error detected while processing C:\Users\Willem\vimfiles\plugin\EasyMotion.vim:
>line 24:
>E117: Unknown function: EasyMotion#InitOptions
>line 39:
>E121: Undefined variable: g:EasyMotion_hl_group_target
>E116: Invalid arguments for function EasyMotion#InitHL
>line 40:
>E121: Undefined variable: g:EasyMotion_hl_group_shade
>E116: Invalid arguments for function EasyMotion#InitHL
>line 69:
>E117: Unknown function: EasyMotion#InitMappings
I now realize that there are two files and have gotten it working! As per the first answer, I have now moved autoload/EasyMotion.vim into $HOME/vimfiles/autoload, as well as moving plugin/EasyMotion.vim into $HOME/vimfiles/plugin
我现在意识到有两个文件,并让它工作!根据第一个答案,我现在已将autoload / EasyMotion.vim移动到$ HOME / vimfiles / autoload,以及将插件/ EasyMotion.vim移动到$ HOME / vimfiles / plugin
2 个解决方案