Skip to content

Commit

Permalink
fix(provider): remove debug statement for treesitter
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhwang91 committed Jul 1, 2022
1 parent a169a9b commit 1cf0e99
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lua/ufo/provider/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ local function getCpatureMatchesRecursively(bufnr, parser)
end

function Treesitter.getFolds(bufnr)
local rt = ktime()
if not utils.isBufLoaded(bufnr) then
return
end
Expand All @@ -106,7 +105,6 @@ function Treesitter.getFolds(bufnr)
table.insert(ranges, {startLine = start, endLine = stop})
end
end
info(ktime() - rt)
return ranges
end

Expand Down

0 comments on commit 1cf0e99

Please sign in to comment.