Skip to content

Commit

Permalink
chore: autoformat with stylua
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro authored and github-actions[bot] committed Jun 7, 2024
1 parent 6b02bf1 commit c8d7f33
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lua/neorg/modules/core/integrations/treesitter/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -685,10 +685,14 @@ module.public = {
source = source or 0

local norg_parser, iter_src = module.public.get_ts_parser(source)
if not norg_parser then return end
if not norg_parser then
return
end

local norg_tree = norg_parser:parse()[1]
if not norg_tree then return end
if not norg_tree then
return
end

local function trim(value)
return no_trim and value or vim.trim(value)
Expand Down Expand Up @@ -866,7 +870,7 @@ module.public = {
end

return norg_parser, iter_src
end
end,
}

-- this fixes the problem of installing neorg ts parsers on macOS without resorting to using gcc
Expand Down

0 comments on commit c8d7f33

Please sign in to comment.