mirror of
https://github.com/neovim/neovim.git
synced 2025-11-14 22:39:08 +00:00
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`.
This commit is contained in:
committed by
GitHub
parent
756043760b
commit
4143bcbd37
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user