From c68de4867bf51524311bba51b6544573b49f2b9b Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Fri, 23 Jul 2021 13:08:11 -0700 Subject: [PATCH] Add XDG_STATE to vimrc --- vim/.config/vim/init.d/xdg.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/.config/vim/init.d/xdg.vim b/vim/.config/vim/init.d/xdg.vim index b7fa5fa..95896c4 100644 --- a/vim/.config/vim/init.d/xdg.vim +++ b/vim/.config/vim/init.d/xdg.vim @@ -3,6 +3,7 @@ if empty($MYVIMRC) | let $MYVIMRC = expand('%:p') | endif if empty($XDG_CACHE_HOME) | let $XDG_CACHE_HOME = $HOME.'/.cache' | endif if empty($XDG_CONFIG_HOME) | let $XDG_CONFIG_HOME = $HOME.'/.config' | endif if empty($XDG_DATA_HOME) | let $XDG_DATA_HOME = $HOME.'/.local/share' | endif +if empty($XDG_STATE_HOME) | let $XDG_STATE_HOME = $HOME.'/.local/state' | endif set runtimepath^=$XDG_CONFIG_HOME/vim set runtimepath+=$XDG_CONFIG_HOME/vim/after