From e642e60d85fd22cc89ebe7a37e05c1cf243ef8b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Sterle?= Date: Wed, 24 Feb 2021 21:22:57 +0100 Subject: [PATCH] update :help references --- README.md | 5 ++++- doc/nvim-lua-guide.txt | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4031e1f..4abbed6 100644 --- a/README.md +++ b/README.md @@ -651,7 +651,7 @@ vim.wo.number = true -- same as vim.api.nvim_win_set_option(0, 'number', true) ``` See also: -- `:help lua-vim-internal-options` +- `:help lua-vim-options` #### Caveats @@ -736,6 +736,9 @@ To delete one of these variables, simply assign `nil` to it: vim.g.some_global_variable = nil ``` +See also: +- `:help lua-vim-variables` + #### Caveats Unlike options meta-accessors, you cannot specify a number for buffer/window/tabpage-scoped variables. diff --git a/doc/nvim-lua-guide.txt b/doc/nvim-lua-guide.txt index 284f379..d1980b9 100644 --- a/doc/nvim-lua-guide.txt +++ b/doc/nvim-lua-guide.txt @@ -720,7 +720,7 @@ no number is given, the current buffer/window is used: < See also: -- |lua-vim-internal-options| +- |lua-vim-options| Caveats~ @@ -821,6 +821,9 @@ To delete one of these variables, simply assign `nil` to it: vim.g.some_global_variable = nil < +See also: +- |lua-vim-variables| + Caveats~ Unlike options meta-accessors, you cannot specify a number for