aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-03 02:07:06 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-03 02:07:06 +1200
commit145998c8b71198c0d60685cda424a52478c6c9a9 (patch)
treed9b893d74691911290b6bc266d03aec6e4570f2c /vim/autoload
parentAdd handling of "after" subdirs in Vim XDG config (diff)
downloaddotfiles-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.vim2
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