docs: do not use deprecated functions #25334

This commit is contained in:
Maria José Solano
2023-09-24 21:39:59 -07:00
committed by GitHub
parent b3be7b7413
commit db51548036
5 changed files with 17 additions and 3 deletions

View File

@@ -888,7 +888,7 @@ end
--- 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' }))
--- ```
---
--- @see |vim.inspect()|