From d5821638e24d1fa3c64780aa4a776d087f153165 Mon Sep 17 00:00:00 2001 From: Andrey Starodubtsev Date: Thu, 13 Nov 2025 21:49:20 +0000 Subject: [PATCH] runtime(new-tutor): escape tutor filename If Vim is installed into the Windows "Program Files" directory the tutor path name contains spaces and must therefore be quoted before passing to :drop. closes: #18742 Signed-off-by: Andrey Starodubtsev Signed-off-by: Christian Brabandt --- runtime/autoload/tutor.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/autoload/tutor.vim b/runtime/autoload/tutor.vim index c3b5df37d9..a31f74680a 100644 --- a/runtime/autoload/tutor.vim +++ b/runtime/autoload/tutor.vim @@ -211,7 +211,7 @@ function! tutor#TutorCmd(tutor_name) endif call tutor#SetupVim() - exe "drop ".l:to_open + exe "drop ".fnameescape(l:to_open) call tutor#EnableInteractive(v:true) endfunction