We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b2d24d commit e8e8b98Copy full SHA for e8e8b98
lua/neorg/modules/core/integrations/treesitter/module.lua
@@ -522,7 +522,9 @@ module.public = {
522
root = tree:root()
523
end
524
525
- if not root then return end
+ if not root then
526
+ return
527
+ end
528
529
--- Recursively searches for a node of a given type
530
---@param node TSNode #The starting point for the search
@@ -736,7 +738,9 @@ module.public = {
736
738
break
737
739
740
- if not parent then return end
741
+ if not parent then
742
743
744
745
descendant = parent
746
0 commit comments