docs: correct description of LanguageTree:contains()

This commit is contained in:
Denys 2022-05-09 18:01:21 +02:00
parent 8658e82357
commit f66a60805d
No known key found for this signature in database
GPG Key ID: 2949C60A240AB341
2 changed files with 0 additions and 4 deletions

View File

@ -616,8 +616,6 @@ LanguageTree:children({self}) *LanguageTree:children()*
LanguageTree:contains({self}, {range}) *LanguageTree:contains()*
Determines whether {range} is contained in this language tree
This goes down the tree to recursively check children.
Parameters: ~
{range} A range, that is a `{ start_line, start_col,
end_line, end_col }` table.

View File

@ -497,8 +497,6 @@ end
--- Determines whether {range} is contained in this language tree
---
--- This goes down the tree to recursively check children.
---
---@param range A range, that is a `{ start_line, start_col, end_line, end_col }` table.
function LanguageTree:contains(range)
for _, tree in pairs(self._trees) do