Closed jdhao closed 3 years ago
The culprit is the following comamnd here:
return substitute(a:path, '/colors/edge\.vim$', '', '')
Since file path on Windows use backslash, the above command can not get the root directory of plugin edge. It still returns the full path to edge.vim: C:\Users\Administrator\AppData\Local\nvim-data\plugged\edge\colors\edge.vim
. We need to figure out another way to get the root path of edge.
Thank you for the fix!
Steps to reproduce. Use the following minimal config:
Open nvim with
nvim -u minimal.vim
. I am seeing a lot of errors.Judging from the errors. It seems that edge try to create directory
C:\Users\Administrator\AppData\Local\nvim-data\plugged\edge\colors\edge.vim\after\ftplugin
. In fact it should create directory:C:\Users\Administrator\AppData\Local\nvim-data\plugged\edge\after\ftplugin
.