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

fix(xdg): fix xdg support

This commit is contained in:
wsdjeg 2023-03-23 22:59:36 +08:00
parent c4433b1231
commit 2679430878

2
vimrc
View File

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