aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/vvars.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-03-18 06:18:37 -0700
committerGitHub <noreply@github.com>2025-03-18 06:18:37 -0700
commit7333c39e6cc78786289d88c65fbe10e4ce78992b (patch)
treeaf0deb9a02b82c19e6bf89e2b5bc8fb9123dd5d5 /src/nvim/vvars.lua
parent29a47b39ccd0317e815632439966f0f1343d96cf (diff)
downloadrneovim-7333c39e6cc78786289d88c65fbe10e4ce78992b.tar.gz
rneovim-7333c39e6cc78786289d88c65fbe10e4ce78992b.tar.bz2
rneovim-7333c39e6cc78786289d88c65fbe10e4ce78992b.zip
docs: misc #32959
Diffstat (limited to 'src/nvim/vvars.lua')
-rw-r--r--src/nvim/vvars.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/vvars.lua b/src/nvim/vvars.lua
index cb84df015c..5de617b5cb 100644
--- a/src/nvim/vvars.lua
+++ b/src/nvim/vvars.lua
@@ -674,8 +674,9 @@ M.vars = {
Read-only.
*$NVIM*
- $NVIM is set by |terminal| and |jobstart()|, and is thus
- a hint that the current environment is a subprocess of Nvim.
+ $NVIM is set to v:servername by |terminal| and |jobstart()|,
+ and is thus a hint that the current environment is a child
+ (direct subprocess) of Nvim.
Example: a child Nvim process can detect and make requests to
its parent Nvim: >lua