mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-23 10:13:32 +03:00
Add comment how to add enable-debug-menu
This commit is contained in:
parent
43170dd3ad
commit
d2b8d844f4
@ -8,6 +8,12 @@ clean=false for_dev=true ./bin/build_nvimserver.sh
|
||||
|
||||
You can set `clean=true` if you want to clean the existing build.
|
||||
|
||||
### How to enable the Debug menu in Release build
|
||||
|
||||
```bash
|
||||
defaults write com.qvacua.VimR enable-debug-menu 1
|
||||
```
|
||||
|
||||
## How to update gettext (libintl)
|
||||
|
||||
Update `./bin/neovim/resources/build_info../bin/neovim/resources/buildInfo.json`
|
||||
|
@ -157,6 +157,7 @@ extension AppDelegate {
|
||||
#if DEBUG
|
||||
NSApp.mainMenu?.items.first { $0.identifier == debugMenuItemIdentifier }?.isHidden = false
|
||||
#else
|
||||
// defaults write com.qvacua.VimR enable-debug-menu 1
|
||||
if UserDefaults.standard.bool(forKey: "enable-debug-menu") {
|
||||
NSApp.mainMenu?.items.first { $0.identifier == debugMenuItemIdentifier }?.isHidden = false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user