diff options
Diffstat (limited to 'runtime/lua/vim/_meta/vvars.lua')
-rw-r--r-- | runtime/lua/vim/_meta/vvars.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/lua/vim/_meta/vvars.lua b/runtime/lua/vim/_meta/vvars.lua index 9df5a0b5f2..25e504a612 100644 --- a/runtime/lua/vim/_meta/vvars.lua +++ b/runtime/lua/vim/_meta/vvars.lua @@ -586,8 +586,9 @@ vim.v.searchforward = ... --- 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: |