1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 00:50:04 +08:00

fix(core): fix xdg support

This commit is contained in:
Capi Etheriel 2023-05-07 11:21:32 -03:00 committed by GitHub
parent 5902f01117
commit cdc4762c48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
vimrc
View File

@ -7,7 +7,7 @@
"=============================================================================
" Use XDG paths if available
if !empty($XDG_CONFIG_HOME) && !empty($XDG_DATA_HOME)
if !empty($XDG_CONFIG_HOME) && !empty($XDG_DATA_HOME) && !empty($XDG_STATE_HOME)
set runtimepath^=$XDG_CONFIG_HOME/vim
set runtimepath+=$XDG_DATA_HOME/vim
set runtimepath+=$XDG_CONFIG_HOME/vim/after