macvim-dev / macvim

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

Fix did_install_default_menus not working with MacVim #1267

Closed ychin closed 2 years ago

ychin commented 2 years ago

The macaction blocks were previously not respecting the did_install_default_menus setting. If you set it to 1 in your vimrc, MacVim would throw startup errors about macmenu not finding the menu items it expected to. Move the macaction setup to the correct place so they would only be called if did_install_default_menus is not 1.

Close #1231. Originally pull request by @jpetrie.