You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to create a user with a space in its name under Windows.
And try to install and use SpaceVim normally…
Some path inside &runtimepath (rtp) become
C:/Users/First/ Last/… instead of C:/Users/First Last/…
Output of the :SPDebugInfo!
Screenshots
If you have any screenshots for this issue, please upload here. BTW you can use https://asciinema.org/ for recording video in terminal.
The text was updated successfully, but these errors were encountered:
"let g:_spacevim_root_dir = escape(fnamemodify(resolve(fnamemodify(expand(''),
" \ ':p:h:gs?\?'.((has('win16') || has('win32')
" \ || has('win64'))?'':'/') . '?')), ':p:gs?[\/]?/?'), ' ')
" Buf fix
" g:_spacevim_root_dir cannot contain a space or it will become escaped by \
" and then \ are replaced by /. C:\Users\FirstName LastName would become
" C:/Users/FirstName/ LastName which is an error.
let g:_spacevim_root_dir="C:/Users/FLastName/.SpaceVim/"
where FLastName is a hard link (junction) to C:\Users\FirstName LastName\ without a space
I also realized that other location in SpaceVim’s code are getting the HOME directory wrong, even after fixing g:_spacevim_root_dir
So I also changed my HOME environment variable to the new path without space
C:\Users\FLastName
I did this in init.vim line 9
let $HOME='C:\Users\FLastName'
NOTE
this is a quick-fix patch and is not a working solution to be merged in the code for everyone (of course)
Expected behavior, english is required
The reproduce ways from Vim starting (Required!)
Try to create a user with a space in its name under Windows.
And try to install and use SpaceVim normally…
Some path inside &runtimepath (rtp) become
C:/Users/First/ Last/… instead of C:/Users/First Last/…
Output of the
:SPDebugInfo!
Screenshots
If you have any screenshots for this issue, please upload here. BTW you can use https://asciinema.org/ for recording video in terminal.
The text was updated successfully, but these errors were encountered: