From: Andrey Starodubtsev Date: Thu, 13 Nov 2025 21:49:20 +0000 (+0000) Subject: runtime(new-tutor): escape tutor filename X-Git-Tag: v9.1.1915~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d5821638e24d1fa3c64780aa4a776d087f153165;p=thirdparty%2Fvim.git 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 --- 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