mirror of
https://github.com/junegunn/fzf.vim.git
synced 2026-02-06 09:57:48 +08:00
Concat string with "." (#1142)
expr-.. is not available on older versions of Vim
This commit is contained in:
@@ -72,7 +72,7 @@ function! s:check_requirements()
|
|||||||
throw "fzf#exec function not found. You need to upgrade Vim plugin from the main fzf repository ('junegunn/fzf')"
|
throw "fzf#exec function not found. You need to upgrade Vim plugin from the main fzf repository ('junegunn/fzf')"
|
||||||
endif
|
endif
|
||||||
let exec = fzf#exec()
|
let exec = fzf#exec()
|
||||||
let fzf_version = matchstr(systemlist(exec .. ' --version')[0], '[0-9.]*')
|
let fzf_version = matchstr(systemlist(exec . ' --version')[0], '[0-9.]*')
|
||||||
|
|
||||||
if s:version_requirement(fzf_version, s:min_version)
|
if s:version_requirement(fzf_version, s:min_version)
|
||||||
let s:checked = 1
|
let s:checked = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user