macvim-dev / macvim

Vim - the text editor - for macOS
https://macvim.org
Vim License
7.53k stars 685 forks source link

Fix vimtutor menu not working #1265

Closed ychin closed 2 years ago

ychin commented 2 years ago

The "Help.Vim Tutor" menu broke in the latest release.

Previously, the "Help.Vim Tutor" menu was using :!vimtutor -g &, but a change in Vim (v8.2.3502) broke that behavior, as the whole script will get terminated as soon as :! finishes running. Fix that to use :call system('vimtutor -g &') instead, since that still works. See https://github.com/vim/vim/issues/8951 for more discussions.