diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-23 22:04:00 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-23 22:04:00 +0100 |
commit | 1ca0b1fe63132254bda761df543955b6a86f8201 (patch) | |
tree | c87d7f143113f960071ef8a071689957c8bfe62f | |
parent | 79548ab5fbf0f23255aca145569026227450f109 (diff) |
Refactor init
-rw-r--r-- | init.lua | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 = { |