diff options
author | Gregory Anders <greg@gpanders.com> | 2022-11-05 19:30:48 -0600 |
---|---|---|
committer | Gregory Anders <greg@gpanders.com> | 2022-11-17 08:23:41 -0700 |
commit | 294910a1ffd11bea0081c2b92632628ef0462eb1 (patch) | |
tree | fa2636155cf69bcced5b89f3b3ffdf8498398d89 /runtime/doc/options.txt | |
parent | f1922e78a1df1b1d32779769432fb5586edf5fbb (diff) | |
download | rneovim-294910a1ffd11bea0081c2b92632628ef0462eb1.tar.gz rneovim-294910a1ffd11bea0081c2b92632628ef0462eb1.tar.bz2 rneovim-294910a1ffd11bea0081c2b92632628ef0462eb1.zip |
feat(exrc): use vim.secure.read() for 'exrc' option
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r-- | runtime/doc/options.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index fd76f11046..6c1edb9c69 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -2264,6 +2264,20 @@ A jump table for the options with a short description can be found at |Q_op|. This option is reset when the 'paste' option is set and restored when the 'paste' option is reset. + *'exrc'* *'ex'* *'noexrc'* *'noex'* +'exrc' 'ex' boolean (default off) + global + Enables the reading of .nvimrc and .exrc files in the current + directory. + + The file is only sourced if the user indicates the file is trusted. If + it is, the SHA256 hash of the file contents and the full path of the + file are persisted to a trust database. The user is only prompted + again if the file contents change. See |vim.secure.read()|. + + This option cannot be set from a |modeline| or in the |sandbox|, for + security reasons. + *'fileencoding'* *'fenc'* *E213* 'fileencoding' 'fenc' string (default: "") local to buffer |