diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-03 02:07:06 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-03 02:07:06 +1200 |
commit | 145998c8b71198c0d60685cda424a52478c6c9a9 (patch) | |
tree | d9b893d74691911290b6bc266d03aec6e4570f2c /vim/autoload | |
parent | Add handling of "after" subdirs in Vim XDG config (diff) | |
download | dotfiles-145998c8b71198c0d60685cda424a52478c6c9a9.tar.gz dotfiles-145998c8b71198c0d60685cda424a52478c6c9a9.zip |
Use v:null in XDG-related contexts
I hadn't realised it was supported in Vim v7.0.
Diffstat (limited to 'vim/autoload')
-rw-r--r-- | vim/autoload/xdg.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/autoload/xdg.vim b/vim/autoload/xdg.vim index 9003b076..2b90f5f1 100644 --- a/vim/autoload/xdg.vim +++ b/vim/autoload/xdg.vim @@ -29,7 +29,7 @@ endfunction function! s:Home(name) abort let home = s:Get(a:name) if !s:Absolute(home) - return '' + return v:null endif return join([home, s:subdir], '/') endfunction |