From 4143bcbd37572bc40e242867ab60675a33cfad0f Mon Sep 17 00:00:00 2001 From: Andrey Starodubtsev Date: Thu, 13 Nov 2025 05:27:24 +0200 Subject: [PATCH] fix(tutor): escape tutor filename #36539 Since NeoVim is installed in `Program Files` directory by default, path to tutor filename must be quoted before passing to `:drop`. --- 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 6f2dd1e602..e6ef3305ab 100644 --- a/runtime/autoload/tutor.vim +++ b/runtime/autoload/tutor.vim @@ -185,7 +185,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) call tutor#ApplyTransform() endfunction