Mercurial > vim
diff runtime/doc/options.txt @ 12499:d91cf2e26ef0
Update runtime files.
commit https://github.com/vim/vim/commit/37c64c78fd87e086b5a945ad7032787c274e2dcb
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 19 22:06:03 2017 +0200
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 19 Sep 2017 22:15:06 +0200 |
parents | 61d910f0999d |
children | 34c8ec888122 |
line wrap: on
line diff
--- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 8.0. Last change: 2017 Aug 27 +*options.txt* For Vim version 8.0. Last change: 2017 Sep 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -423,6 +423,16 @@ command, not when assigning a value to a *$HOME-windows* On MS-Windows, if $HOME is not defined as an environment variable, then at runtime Vim will set it to the expansion of $HOMEDRIVE$HOMEPATH. +If $HOMEDRIVE is not set then $USERPROFILE is used. + +This expanded value is not exported to the environment, this matters when +running an external command: > + :echo system('set | findstr ^HOME=') +and > + :echo luaeval('os.getenv("HOME")') +should echo nothing (an empty string) despite exists('$HOME') being true. +When setting $HOME to a non-empty string it will be exported to the +subprocesses. Note the maximum length of an expanded option is limited. How much depends on @@ -722,7 +732,8 @@ A jump table for the options with a shor Vim may set this option automatically at startup time when Vim is compiled with the |+termresponse| feature and if |t_u7| is set to the - escape sequence to request cursor position report. + escape sequence to request cursor position report. The response can + be found in |v:termu7resp|. *'antialias'* *'anti'* *'noantialias'* *'noanti'* 'antialias' 'anti' boolean (default: off) @@ -870,11 +881,12 @@ A jump table for the options with a shor < Vim will guess the value. In the GUI this should work correctly, in other cases Vim might not be able to guess the right value. - When the t_BG option is set, Vim will use it to request the background + When the |t_RB| option is set, Vim will use it to request the background color from the terminal. If the returned RGB value is dark/light and 'background' is not dark/light, 'background' will be set and the screen is redrawn. This may have side effects, make t_BG empty in - your .vimrc if you suspect this problem. + your .vimrc if you suspect this problem. The response to |t_RB| can + be found in |v:termrgbresp|. When starting the GUI, the default value for 'background' will be "light". When the value is not set in the .gvimrc, and Vim detects @@ -4363,9 +4375,9 @@ A jump table for the options with a shor {not in Vi} {only available when compiled with |+xim| and |+GUI_GTK|} - This option specifies the input style of Input Method. - Set to zero if you want to use on-the-spot style. - Set to one if you want to use over-the-spot style. + This option specifies the input style of Input Method: + 0 use on-the-spot style + 1 over-the-spot style See: |xim-input-style| For a long time on-the-spot sytle had been used in GTK version of vim, @@ -5746,6 +5758,18 @@ A jump table for the options with a shor < Replace the ';' with a ':' or whatever separator is used. Note that this doesn't work when $INCL contains a comma or white space. + *'perldll'* +'perldll' string (default depends on the build) + global + {not in Vi} + {only available when compiled with the |+perl/dyn| + feature} + Specifies the name of the Perl shared library. The default is + DYNAMIC_PERL_DLL, which was specified at compile time. + Environment variables are expanded |:set_env|. + This option cannot be set from a |modeline| or in the |sandbox|, for + security reasons. + *'preserveindent'* *'pi'* *'nopreserveindent'* *'nopi'* 'preserveindent' 'pi' boolean (default off) local to buffer