mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
docs: correct description of LanguageTree:contains()
This commit is contained in:
parent
8658e82357
commit
f66a60805d
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user