Search notes:

VIM: runtime/menu.vim

A general prerequisite for using menu.vim is that FEAT_MENU is defined.
It is sourced from the function gui_init() in gui.c.
$VIMRUNTIME/menu.vim is (also?) sourced if :filetype on is executed in vim with a GUI.
This file is not sourced if M is included in guioptions. Apparently, otherwise, even if using -U NONE -u NONE, menu.vim would be sourced.
The path of menu.vim is stored in the macro SYS_MENU_FILE which is defined in one of the os_*.h file, for example in os_dos.h:
#ifdef FEAT_GUI
  …
# ifndef SYS_MENU_FILE
#  define SYS_MENU_FILE		"$VIMRUNTIME\\menu.vim"
# endif
#endif

See also

The FEAT_MENU macro.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758196975, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/vim/sources/runtime/menu_vim(54): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78