open gvim and show the info like this :
Error detected while processing function
SpaceVim#begin[34]..SpaceVim#default#opti
ons:
line 66:
E739: Cannot create directory: C:Userssimon
/.cache/SpaceVim
Error detected while processing C:Userssimo
nvimfilesvimrc:
line 11:
E171: Missing :endif
i fixed the problem.
it's because the Windows Defender on win10 prevents me from creating directory.
so if you have the same issue as me , you need to close the windows defender, and then open the gvim.
Or you can create folder called .cache, then open the gvim.
Hope it can help you.
@teemola Thanks for your info.
Run cmd with Anministor then located at C:/Users/XXX锛宮kdir .cache 锛宼hen open the gVim.exe
@MurrayFan Thank you .Your suggestion is very useful.
I have fix this issue.
Most helpful comment
Run cmd with Anministor then located at C:/Users/XXX锛宮kdir .cache 锛宼hen open the gVim.exe