Skip to content

Commit e8e8b98

Browse files
benlubasgithub-actions[bot]
authored andcommitted
chore: autoformat with stylua
1 parent 7b2d24d commit e8e8b98

File tree

1 file changed

+6
-2
lines changed
  • lua/neorg/modules/core/integrations/treesitter

1 file changed

+6
-2
lines changed

lua/neorg/modules/core/integrations/treesitter/module.lua

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,9 @@ module.public = {
522522
root = tree:root()
523523
end
524524

525-
if not root then return end
525+
if not root then
526+
return
527+
end
526528

527529
--- Recursively searches for a node of a given type
528530
---@param node TSNode #The starting point for the search
@@ -736,7 +738,9 @@ module.public = {
736738
break
737739
end
738740

739-
if not parent then return end
741+
if not parent then
742+
return
743+
end
740744

741745
descendant = parent
742746
end

0 commit comments

Comments
 (0)