aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-03-17 04:59:31 -0700
committerGitHub <noreply@github.com>2025-03-17 04:59:31 -0700
commit5440e59247b690e990244be793b1ffd1cb5b8e80 (patch)
treef508a3c9ae52ac10d682625201ec16e8d9fd7887 /src/nvim/options.lua
parentd0cda9d6c59d88314b67f251a1c13216424aebcf (diff)
parentf96606371c13fd10280d737a4e3e2ae9149c2067 (diff)
downloadrneovim-5440e59247b690e990244be793b1ffd1cb5b8e80.tar.gz
rneovim-5440e59247b690e990244be793b1ffd1cb5b8e80.tar.bz2
rneovim-5440e59247b690e990244be793b1ffd1cb5b8e80.zip
Merge #32810 docs
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index e9f8051ed3..d150303033 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -2663,9 +2663,10 @@ local options = {
abbreviation = 'ex',
defaults = false,
desc = [=[
- Automatically execute .nvim.lua, .nvimrc, and .exrc files in the
- current directory, if the file is in the |trust| list. Use |:trust| to
- manage trusted files. See also |vim.secure.read()|.
+ Enables project-local configuration. Nvim will execute any .nvim.lua,
+ .nvimrc, or .exrc file found in the |current-directory|, if the file is
+ in the |trust| list. Use |:trust| to manage trusted files. See also
+ |vim.secure.read()|.
Compare 'exrc' to |editorconfig|:
- 'exrc' can execute any code; editorconfig only specifies settings.
@@ -2678,6 +2679,7 @@ local options = {
scope = { 'global' },
secure = true,
short_desc = N_('read .nvimrc and .exrc in the current directory'),
+ tags = { 'project-config', 'workspace-config' },
type = 'boolean',
varname = 'p_exrc',
},