mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 06:46:07 +00:00
docs: misc #32959
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user