diff --git a/README.md b/README.md index c0d174a..4031e1f 100644 --- a/README.md +++ b/README.md @@ -719,6 +719,7 @@ Internal variables can be manipulated more intuitively using these meta-accessor - `vim.w.{name}`: window variables - `vim.t.{name}`: tabpage variables - `vim.v.{name}`: predefined Vim variables +- `vim.env.{name}`: environment variables ```lua vim.g.some_global_variable = { diff --git a/doc/nvim-lua-guide.txt b/doc/nvim-lua-guide.txt index ab27495..284f379 100644 --- a/doc/nvim-lua-guide.txt +++ b/doc/nvim-lua-guide.txt @@ -803,6 +803,7 @@ meta-accessors: - `vim.w.{name}`: window variables - `vim.t.{name}`: tabpage variables - `vim.v.{name}`: predefined Vim variables +- `vim.env.{name}`: environment variables > vim.g.some_global_variable = {