diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-10-29 06:15:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-29 06:15:13 +0800 |
commit | a2a1a65b98ad88d69906b9c372dca1c3063100ef (patch) | |
tree | 027f2cbc7060cde84a07b134073cbc4635964ef1 /runtime/doc | |
parent | f2fb05238ad55586e26289a27f2af519e24f94f5 (diff) | |
download | rneovim-a2a1a65b98ad88d69906b9c372dca1c3063100ef.tar.gz rneovim-a2a1a65b98ad88d69906b9c372dca1c3063100ef.tar.bz2 rneovim-a2a1a65b98ad88d69906b9c372dca1c3063100ef.zip |
vim-patch:8ebdbc9e6d80 (#25816)
runtime(doc): all secure options should note this restriction in the documentation (vim/vim#13448)
Problem: Not all secure options document their status
Solution: Describe secure context :set restrictions in each help entry
https://github.com/vim/vim/commit/8ebdbc9e6d80b707c2b2d923e702dc86bf902923
Co-authored-by: dkearns <dougkearns@gmail.com>
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/options.txt | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 3864b4f25b..56926aec69 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1214,6 +1214,8 @@ A jump table for the options with a short description can be found at |Q_op|. current working directory to the |$HOME| directory like in Unix. When off, those commands just print the current directory name. On Unix this option has no effect. + This option cannot be set from a |modeline| or in the |sandbox|, for + security reasons. *'cdpath'* *'cd'* *E344* *E346* 'cdpath' 'cd' string (default equivalent to $CDPATH or ",,") @@ -4095,7 +4097,8 @@ A jump table for the options with a short description can be found at |Q_op|. < If you have less than 512 Mbyte |:mkspell| may fail for some languages, no matter what you set 'mkspellmem' to. - This option cannot be set from a |modeline| or in the |sandbox|. + This option cannot be set from a |modeline| or in the |sandbox|, for + security reasons. *'modeline'* *'ml'* *'nomodeline'* *'noml'* 'modeline' 'ml' boolean (default on (off for root)) @@ -4475,6 +4478,8 @@ A jump table for the options with a short description can be found at |Q_op|. global Directories used to find packages. See |packages| and |packages-runtimepath|. + This option cannot be set from a |modeline| or in the |sandbox|, for + security reasons. *'paragraphs'* *'para'* 'paragraphs' 'para' string (default "IPLPPPQPP TPHPLIPpLpItpplpipbp") @@ -4487,6 +4492,8 @@ A jump table for the options with a short description can be found at |Q_op|. global Expression which is evaluated to apply a patch to a file and generate the resulting new version of the file. See |diff-patchexpr|. + This option cannot be set from a |modeline| or in the |sandbox|, for + security reasons. *'patchmode'* *'pm'* *E205* *E206* 'patchmode' 'pm' string (default "") @@ -5382,6 +5389,8 @@ A jump table for the options with a short description can be found at |Q_op|. When 'shellxquote' is set to "(" then the characters listed in this option will be escaped with a '^' character. This makes it possible to execute most external commands with cmd.exe. + This option cannot be set from a |modeline| or in the |sandbox|, for + security reasons. *'shellxquote'* *'sxq'* 'shellxquote' 'sxq' string (default "", Windows: "\"") @@ -6429,6 +6438,8 @@ A jump table for the options with a short description can be found at |Q_op|. function and an example. The value can be the name of a function, a |lambda| or a |Funcref|. See |option-value-function| for more information. + This option cannot be set from a |modeline| or in the |sandbox|, for + security reasons. *'taglength'* *'tl'* 'taglength' 'tl' number (default 0) @@ -6817,6 +6828,8 @@ A jump table for the options with a short description can be found at |Q_op|. Setting 'verbosefile' to a new value is like making it empty first. The difference with |:redir| is that verbose messages are not displayed when 'verbosefile' is set. + This option cannot be set from a |modeline| or in the |sandbox|, for + security reasons. *'viewdir'* *'vdir'* 'viewdir' 'vdir' string (default "$XDG_STATE_HOME/nvim/view//") |