Skip to content

Commit

Permalink
fix(docgen): wrong require order in docgen.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Feb 3, 2023
1 parent d4c25d1 commit 7494b51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docgen/docgen.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
local docgen = {}

require("neorg.external.helpers")

-- Create the directory if it does not exist
docgen.output_dir = "../wiki"
pcall(vim.fn.mkdir, docgen.output_dir)
Expand All @@ -20,6 +18,8 @@ require("neorg").setup({
-- Start neorg
neorg.org_file_entered(false)

require("neorg.external.helpers")

-- Extract treesitter utility functions provided by Neorg and nvim-treesitter.ts_utils
local ts = neorg.modules.get_module("core.integrations.treesitter")
assert(ts, "treesitter not available")
Expand Down

0 comments on commit 7494b51

Please sign in to comment.