diff options
-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 |