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

@@ -653,7 +653,7 @@ end
---@param range Range `{ start_line, start_col, end_line, end_col }`
---@param opts table|nil Optional keyword arguments:
--- - ignore_injections boolean Ignore injected languages (default true)
---@return TSNode|nil Found node
---@return TSNode | nil Found node
function LanguageTree:named_node_for_range(range, opts)
local tree = self:tree_for_range(range, opts)
if tree then