mirror of
https://github.com/Cian-H/my_nvim_config.git
synced 2026-08-16 22:52:50 +01:00
Further migration of expressive functionality to fennel
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user