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:
parent
c4433b1231
commit
2679430878
2
vimrc
2
vimrc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user