helm/home/profiles/nvim/config/init.lua

27 lines
781 B
Lua
Raw Normal View History

2024-08-24 03:51:29 -07:00
if pcall(require, "hotpot") then
-- Setup hotpot.nvim
require("hotpot").setup({
provide_require_fennel = true,
-- show fennel compiler results in when editing fennel files
enable_hotpot_diagnostics = true,
compiler = {
-- options passed to fennel.compile for modules, defaults to {}
modules = {
-- not default but recommended, align lua lines with fnl source
-- for more debuggable errors, but less readable lua.
correlate = true
},
macros = {
-- allow macros to access vim global, needed for nyoom modules
env = "_COMPILER",
compilerEnv = _G,
allowGlobals = true,
},
}
})
-- Import neovim configuration
require("conf")
else
print("Unable to require hotpot")
end