Further migration of expressive functionality to fennel

This commit is contained in:
2026-07-14 13:18:18 +01:00
parent 1b314768f1
commit 7a7221ff0d
4 changed files with 56 additions and 57 deletions
+4 -23
View File
@@ -6,29 +6,9 @@ vim.g.maplocalleader = "\\\\"
require("config")
-- Then, i want to load lazy as my plugin manager and have it load my plugins
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
end
local hotpotpath = vim.fn.stdpath("data") .. "/lazy/hotpot.nvim"
if not vim.loop.fs_stat(hotpotpath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/rktjmp/hotpot.nvim.git",
hotpotpath,
})
end
local utils = require("config.utils")
local lazypath = utils.ensure_plugin("lazy.nvim", "folke/lazy.nvim", "stable")
local hotpotpath = utils.ensure_plugin("hotpot.nvim", "rktjmp/hotpot.nvim")
---@diagnostic disable: undefined-field
vim.opt.rtp:prepend(hotpotpath)
@@ -37,6 +17,7 @@ vim.opt.rtp:prepend(lazypath)
require("hotpot")
require("keybindings")
require("config.autocmds")
require("lazy").setup("plugins")
require("nvim-web-devicons").refresh() -- This fixes screwiness with the devicon colors