Stylua
This commit is contained in:
@@ -35,7 +35,6 @@ neogen.utilities.nodes = {
|
|||||||
local results = opts.results or {}
|
local results = opts.results or {}
|
||||||
|
|
||||||
for child in parent:iter_children() do
|
for child in parent:iter_children() do
|
||||||
|
|
||||||
-- Find the first recursive item and breaks
|
-- Find the first recursive item and breaks
|
||||||
if opts.first then
|
if opts.first then
|
||||||
if child:named() and child:type() == node_name then
|
if child:named() and child:type() == node_name then
|
||||||
@@ -92,7 +91,6 @@ neogen.utilities.nodes = {
|
|||||||
matched = self:recursive_find(parent, subtree.node_type)
|
matched = self:recursive_find(parent, subtree.node_type)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
for _, child in pairs(matched) do
|
for _, child in pairs(matched) do
|
||||||
if subtree.extract == true then
|
if subtree.extract == true then
|
||||||
local name = subtree.node_type or "_"
|
local name = subtree.node_type or "_"
|
||||||
|
|||||||
Reference in New Issue
Block a user