diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-04-25 21:26:23 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-04-25 21:26:23 +1200 |
commit | 194c30603b7ea0a9ac68126afe4434b71fc75580 (patch) | |
tree | fdfb1aa2bf48cacab6c38c574baf065794541e17 /vim | |
parent | Merge branch 'hotfix/v8.20.1' (diff) | |
download | dotfiles-194c30603b7ea0a9ac68126afe4434b71fc75580.tar.gz dotfiles-194c30603b7ea0a9ac68126afe4434b71fc75580.zip |
Correct absolute test
Diffstat (limited to 'vim')
-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 9e6d6553..b1bc523a 100644 --- a/vim/autoload/xdg.vim +++ b/vim/autoload/xdg.vim @@ -20,7 +20,7 @@ function! s:Get(name) abort endfunction function! s:Absolute(path) abort - return a:path !=# '^[/~]' + return a:path =~# '^[/~]' endfunction function! xdg#CacheDir(name) abort |