From: Foxe Chen Date: Sat, 25 Jul 2026 16:44:20 +0000 (+0000) Subject: runtime(osc52): don't use osc52 provider if gui is running X-Git-Tag: v9.2.0855~1 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=3886a8ffc5bbc006d5965fca2e1004b4beb4c98b;p=thirdparty%2Fvim.git runtime(osc52): don't use osc52 provider if gui is running closes: #20841 Signed-off-by: Foxe Chen Signed-off-by: Christian Brabandt --- diff --git a/runtime/pack/dist/opt/osc52/autoload/osc52.vim b/runtime/pack/dist/opt/osc52/autoload/osc52.vim index bad4bc388d..16507d05c3 100644 --- a/runtime/pack/dist/opt/osc52/autoload/osc52.vim +++ b/runtime/pack/dist/opt/osc52/autoload/osc52.vim @@ -3,6 +3,9 @@ vim9script export var allowed: bool = false export def Available(): bool + if has('gui_running') + return false + endif if get(g:, 'osc52_force_avail', 0) return true endif