Search notes:
VIM variables: $VIMRUNTIME
Usually, the value of $VIMRUNTIME
is not explicitly defined by a user.
If the variable
VIMRUNTIME
is not defined, vim tries to determine the runtime directory in the function
vim_getenv()
by using the value of the
- helpfile option
- the name of the executable (
argv[0]
and/or global variable exe_name
)
If vim determined the value for
$VIMRUNTIME
, it also sets the value of
didset_vimruntime
to
TRUE
.
See also
The option
runtimepath
contains a comma separated list of directories that will be searched for
runtime files.