diff options
author | Maria José Solano <majosolano99@gmail.com> | 2023-09-24 21:39:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-24 21:39:59 -0700 |
commit | db51548036ebe4b01c5b78aeca7a76aa71ab4fbe (patch) | |
tree | 0098a2f64595e3c03a9acd4305f833d62a0b88f3 /runtime/doc/lua.txt | |
parent | b3be7b741386bbbf076e87859cb1e3d990316f5c (diff) | |
download | rneovim-db51548036ebe4b01c5b78aeca7a76aa71ab4fbe.tar.gz rneovim-db51548036ebe4b01c5b78aeca7a76aa71ab4fbe.tar.bz2 rneovim-db51548036ebe4b01c5b78aeca7a76aa71ab4fbe.zip |
docs: do not use deprecated functions #25334
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r-- | runtime/doc/lua.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index a77cc3b565..7e888a2375 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -1680,7 +1680,7 @@ vim.print({...}) *vim.print()* "Pretty prints" the given arguments and returns them unmodified. Example: >lua - local hl_normal = vim.print(vim.api.nvim_get_hl_by_name('Normal', true)) + local hl_normal = vim.print(vim.api.nvim_get_hl(0, { name = 'Normal' })) < Return: ~ |