Skip to content

Commit

Permalink
fix: remove lua-utils from the loaded list to force a refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Mar 24, 2024
1 parent f90c965 commit af1e06c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/neorg/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ function neorg.setup_after_build()
return
end

package.loaded["lua-utils"] = nil

-- HACK(vhyrro): Please do this elsewhere.
local ok, lua_utils = pcall(require, "lua-utils")
assert(ok, "unable to find lua-utils dependency. Perhaps try restarting Neovim?")
Expand Down

0 comments on commit af1e06c

Please sign in to comment.