From 13af62882a84fb232e4bddd81a57dde1b91fbc4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Sterle?= Date: Sun, 8 Aug 2021 20:11:05 +0200 Subject: [PATCH] mention `api-global` Fix #76 --- README.md | 2 +- doc/nvim-lua-guide.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5ba4f23..e4b7f16 100644 --- a/README.md +++ b/README.md @@ -400,7 +400,7 @@ Some notable functions and modules include: - `vim.lsp`: module that controls the built-in LSP client - `vim.treesitter`: module that exposes the functionality of the tree-sitter library -This list is by no means comprehensive. If you wish to know more about what's made available by the `vim` variable, [`:help lua-stdlib`](https://neovim.io/doc/user/lua.html#lua-stdlib) and [`:help lua-vim`](https://neovim.io/doc/user/lua.html#lua-vim) are the way to go. Alternatively, you can do `:lua print(vim.inspect(vim))` to get a list of every module. +This list is by no means comprehensive. If you wish to know more about what's made available by the `vim` variable, [`:help lua-stdlib`](https://neovim.io/doc/user/lua.html#lua-stdlib) and [`:help lua-vim`](https://neovim.io/doc/user/lua.html#lua-vim) are the way to go. Alternatively, you can do `:lua print(vim.inspect(vim))` to get a list of every module. API functions are documented under [`:help api-global`](https://neovim.io/doc/user/api.html#api-global). #### Tips diff --git a/doc/nvim-lua-guide.txt b/doc/nvim-lua-guide.txt index 1403419..171ebfe 100644 --- a/doc/nvim-lua-guide.txt +++ b/doc/nvim-lua-guide.txt @@ -492,7 +492,7 @@ tree-sitter library This list is by no means comprehensive. If you wish to know more about what's made available by the `vim` variable, |lua-stdlib| and |lua-vim| are the way to go. Alternatively, you can do `:lua print(vim.inspect(vim))` to get a list -of every module. +of every module. API functions are documented under |api-global|. Tips~