diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-10-06 11:20:29 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-10-06 11:20:29 +1300 |
commit | cffe860b6d7c1513dacee05992cf973d7fe7e76e (patch) | |
tree | 76c95912e660de47ae4f7cd2889a9a74b9fa4386 | |
parent | Change parameter name for patch#() function (diff) | |
download | dotfiles-cffe860b6d7c1513dacee05992cf973d7fe7e76e.tar.gz dotfiles-cffe860b6d7c1513dacee05992cf973d7fe7e76e.zip |
Correct patch#() relay to has() to add prefix
-rw-r--r-- | vim/autoload/patch.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/autoload/patch.vim b/vim/autoload/patch.vim index dc2bef2b..cbfa8c93 100644 --- a/vim/autoload/patch.vim +++ b/vim/autoload/patch.vim @@ -8,7 +8,7 @@ function! patch#(version) abort " If we're new enough, we can just run the native has() if has('patch-7.4.237') - return has(a:version) + return has('patch-'.a:version) endif " Otherwise, we need to start splitting and comparing numbers |