btv.env
btv.env.get(name)
No documentation comment in the prelude.
Defined in state.lua.
btv.env.set(name, value)
btv.env.set(name, value) [alias vim.fn.setenv]: set an environment variable for
this session. bemtvi can’t mutate the real process environment from Lua, so the
value lands in a shadow store getenv/vim.env read back — observable within the
editor, which is what a plugin setting e.g. $GIT_DIR before spawning an in-process
child expects. A nil/v:null value unsets it.
Defined in state.lua.