diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-08-29 21:55:35 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-08-29 21:55:35 +0200 |
commit | 89a9c159f23fb7b3e24e6d09068adfc24a73afcb (patch) | |
tree | ffc62c1104f8222091cf262a37dbb52bf01f5a61 /runtime/doc/options.txt | |
parent | 6e82351130ddb8d13cf3748b47f07cae77886fc7 (diff) |
Update runtime files
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r-- | runtime/doc/options.txt | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index a181ecb0d8..26b6683fe5 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 8.2. Last change: 2021 Jul 22 +*options.txt* For Vim version 8.2. Last change: 2021 Aug 28 VIM REFERENCE MANUAL by Bram Moolenaar @@ -195,11 +195,18 @@ include the "|" in the option value, use "\|" instead. This example sets the This sets the 'titlestring' option to "hi" and 'iconstring' to "there": > :set titlestring=hi|set iconstring=there -Similarly, the double quote character starts a comment. To include the '"' in -the option value, use '\"' instead. This example sets the 'titlestring' -option to 'hi "there"': > +Similarly, in legacy script the double quote character starts a comment. To +include the '"' in the option value, use '\"' instead. This example sets the +'titlestring' option to 'hi "there"': > :set titlestring=hi\ \"there\" +In |Vim9| script it's simpler, comments start with a '#' character, and only +when preceded by white space. A backslash is needed less often: > + vim9script + set titlestring=hi\ "there" + set titlestring=hi#there# + set titlestring=hi\ \#there# + For Win32 backslashes in file names are mostly not removed. More precise: For options that expect a file name (those where environment variables are expanded) a backslash before a normal file name character is not removed. But |