diff --git a/vimrc b/vimrc index a321af81a..6a169a0e2 100644 --- a/vimrc +++ b/vimrc @@ -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