motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 89ab2d95cda2bbde3fbea87cbc83344988a4de90 (tree)
parent 557ef84c6d5db7e562b8984c2847dad3c11ce834
Author: Tim Pope <code@tpope.net>
Date:   Sun, 22 Aug 2021 16:42:12 -0400

Drop Vim requirement to 7.3

The code base still supports 7.3 (7.2.061 to be precise) so no harm in
dropping this for one final release.

Diffstat:
Mautoload/fugitive.vim | 4++--
Mplugin/fugitive.vim | 6+++---
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -88,8 +88,8 @@ function! s:throw(string) abort endfunction function! s:VersionCheck() abort - if v:version < 704 - return 'return ' . string('echoerr "fugitive: Vim 7.4 or newer required"') + if v:version < 703 + return 'return ' . string('echoerr "fugitive: Vim 7.3 or newer required"') elseif empty(fugitive#GitVersion()) let exe = get(s:GitCmd(), 0, '') if len(exe) && !executable(exe) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -16,7 +16,7 @@ let s:bad_git_dir = '/$\|^fugitive:' " Fugitive is active in the current buffer. Do not rely on this for direct " filesystem access; use FugitiveFind('.git/whatever') instead. function! FugitiveGitDir(...) abort - if v:version < 704 + if v:version < 703 return '' elseif !a:0 || type(a:1) == type(0) && a:1 < 0 || a:1 is# get(v:, 'true', -1) if exists('g:fugitive_event') @@ -369,7 +369,7 @@ function! FugitiveExtractGitDir(path) abort endfunction function! FugitiveDetect(...) abort - if v:version < 704 + if v:version < 703 return '' endif if exists('b:git_dir') && b:git_dir =~# '^$\|' . s:bad_git_dir @@ -523,7 +523,7 @@ if exists(':Gbrowse') != 2 && get(g:, 'fugitive_legacy_commands', 1) \ '|if <bang>1|redraw!|endif|echohl WarningMSG|echomsg ":Gbrowse is deprecated in favor of :GBrowse"|echohl NONE' endif -if v:version < 704 +if v:version < 703 finish endif