docs(treesitter): fix parse errors

This commit is contained in:
Christian Clason
2023-02-21 17:03:04 +01:00
parent 524e1a0643
commit 05de0f4fea
2 changed files with 3 additions and 3 deletions

View File

@@ -339,7 +339,7 @@ end
--- - lang string|nil Parser language
--- - ignore_injections boolean Ignore injected languages (default true)
---
---@return TSNode|nil under the cursor
---@return TSNode | nil Node at the given position
---@deprecated
function M.get_node_at_pos(bufnr, row, col, opts)
vim.deprecate('vim.treesitter.get_node_at_pos()', 'vim.treesitter.get_node()', '0.10')