nvim-config/init.lua

31 lines
936 B
Lua
Raw Normal View History

2024-01-03 22:00:35 +00:00
-- Hotpot enables fennel support
-- https://github.com/rktjmp/hotpot.nvim
2023-07-27 13:11:43 +00:00
local hotpot_path = vim.fn.stdpath('data') .. '/lazy/hotpot.nvim'
if vim.fn.empty(vim.fn.glob(hotpot_path)) > 0 then
print("Could not find hotpot.nvim, cloning new copy to", hotpot_path)
vim.fn.system({'git', 'clone',
'https://github.com/rktjmp/hotpot.nvim', hotpot_path})
vim.cmd("helptags " .. hotpot_path .. "/doc")
2023-06-03 19:27:29 +00:00
end
2024-01-03 22:00:35 +00:00
-- Lazy is the package manager
-- https://github.com/folke/lazy.nvim
local lazy_path = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazy_path) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazy_path,
})
end
vim.opt.rtp:prepend({hotpot_path, lazy_path})
2023-07-27 13:11:43 +00:00
require("hotpot")
2024-01-06 19:04:09 +00:00
2024-01-03 22:00:35 +00:00
-- the rest of this config is written in Fennel
-- https://fennel-lang.org/
require("boot")