From 9981471d7b73331fb0cee7c8ed7d46c1582b91dc Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 21 Aug 2026 00:14:24 +0900 Subject: [PATCH] Turn g:loaded_fzf into a version marker Callers cannot detect plugin-side behavior. fzf#exec() reports the version of the binary, not of this plugin, and everything else here is script-local. fzf.vim needs to know whether fzf#run is asynchronous in popup mode before offering a key binding that depends on it. The value was only ever read through the exists() guard, so raising it from 1 breaks nothing. --- plugin/fzf.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 5511b2c3..b6ad85ba 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -24,7 +24,8 @@ if exists('g:loaded_fzf') finish endif -let g:loaded_fzf = 1 +" Bumped when the plugin gains behavior a caller may need to detect +let g:loaded_fzf = 20260821 let s:is_win = has('win32') || has('win64') if s:is_win && &shellslash