Vim script makes it a little more difficult to check if the XDG variables have been set