mirror of
https://github.com/neovim/neovim.git
synced 2025-11-15 23:01:24 +00:00
vim-patch:9.1.1870: :Tutor may not work as expected (#36343)
Problem: :Tutor may not work as expected
Solution: set buftype=nowrite instead of nofile
(Phạm Bình An)
closes: vim/vim#18613
9978bb77c6
Co-authored-by: Phạm Bình An <phambinhanctb2004@gmail.com>
This commit is contained in:
@@ -11,7 +11,7 @@ endfunc
|
||||
|
||||
func Test_auto_enable_interactive()
|
||||
Tutor
|
||||
call assert_equal('nofile', &buftype)
|
||||
call assert_equal('nowrite', &buftype)
|
||||
call assert_match('tutor#EnableInteractive', b:undo_ftplugin)
|
||||
|
||||
edit Xtutor/Xtest.tutor
|
||||
|
||||
Reference in New Issue
Block a user