itsuki0927 / SkCode

SkCode = neovim + lua + vscode
138 stars 20 forks source link

调用 lua 时出错? #11

Closed FBIKdot closed 1 year ago

FBIKdot commented 2 years ago

我的用户名是FBIK, 我将仓库内的文件克隆到C:\Users\FBIK\AppData\Local\nvim, 之后输入nvim +PackerSync, 结果如下: image

Cloning packer ..
Error detected while processing C:\Users\FBIK\AppData\Local\nvim\init.lua:
E5113: Error while calling lua chunk: C:\Users\FBIK\AppData\Local\nvim/lua/core/plugin/init.lua:26: Vim(packadd):E919:
Directory not found in 'packpath': "pack/*/opt/packer.nvim"
stack traceback:
        [C]: in function 'cmd'
        C:\Users\FBIK\AppData\Local\nvim/lua/core/plugin/init.lua:26: in function 'bootstrap'
        C:\Users\FBIK\AppData\Local\nvim\init.lua:6: in main chunk
Error detected while processing command line:
E492: Not an editor command: PackerSync
Press ENTER or type command to continue

请问这是什么情况? 我该如何解决?