Search notes:

VIM: src/option.c

option.c contains code to handle user-settable options.

vimrc_found()

vimrc_found() is called when a .vimrc or "VIMINIT" has been found (see do_source()).
This function then stores then path and name of the file in the (environment?) variables MYVIMRC or `MYGVIMRC.

do_set()

do_set() is called when an option is set (for example to handle set nocompatible).

set_init_1()

First part of option initializing.
Among others, set_init_1 sets p_cp (option compatible) to TRUE in order to be VI compatible.

set_init_2()

Second part of option initializing, called after getting rows and columns, and setting term.

set_option_default()

set_option_default sets an option to its default value.

set_option_value()

findoption()

Finds the index for a given (char_u*) option.
Compare with find_command()

compatible_set()

compatible_set() is called when :set compatible or :set nocompatible] is executed.
when vim is set to compatible, compatible_set sets all options that have the P_VIM flag to a vi compatible value.
Otherwise, it sets all options that have a different default for vim (without the P_VI_DEF flag) to that default.

See also

option.h

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...', 1758200706, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/vim/sources/src/option_c(91): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78