summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua8
1 files changed, 3 insertions, 5 deletions
diff --git a/init.lua b/init.lua
index 8816adb..f82c841 100644
--- a/init.lua
+++ b/init.lua
@@ -1,13 +1,11 @@
local hotpot_path = vim.fn.stdpath "data" .. "/lazy/" .. "hotpot.nvim"
-vim.opt.runtimepath:prepend(hotpot_path)
-
-local ok, hotpot = pcall(require, "hotpot")
-if not ok then
+if not vim.loop.fs_stat(hotpot_path) then
vim.notify "You need to run the bootstrap!"
return
end
+vim.opt.runtimepath:prepend(hotpot_path)
-hotpot.setup {
+require("hotpot").setup {
provide_require_fennel = true,
compiler = {
modules = {