Add .config/nvim/init.lua

Add .config/nvim/lazy-lock.json
Add .config/nvim/lua/config/lazy.lua
Add .config/nvim/lua/plugins/colorscheme.lua
Add .config/nvim/lua/plugins/mini.lua
This commit is contained in:
Lewis Wynne 2025-11-01 03:07:12 +00:00
parent 5323023ae8
commit 98179a6a29
5 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1 @@
require("config.lazy")

View file

@ -0,0 +1,6 @@
{
"helix-nvim": { "branch": "main", "commit": "c2875fb19df7f3624d0ae1c82b063fc14de1d64b" },
"lazy.nvim": { "branch": "main", "commit": "db067881fff0fd4be8c00e5bde7492e0e1c77a2f" },
"mini.nvim": { "branch": "main", "commit": "e96ef335c7c68d2bc6359cdb7cf0941889df9be0" },
"multicursor.nvim": { "branch": "1.0", "commit": "0c6ceae228bf209e8b8717df9de500770c4e7022" }
}

View file

@ -0,0 +1,26 @@
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
if vim.v.shell_error ~= 0 then
vim.api.nvim_echo({
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
{ out, "WarningMsg" },
{ "\nPress any key to exit..." },
}, true, {})
vim.fn.getchar()
os.exit(1)
end
end
vim.opt.rtp:prepend(lazypath)
vim.g.mapleader = " "
vim.g.maplocalleader = "\\"
require("lazy").setup({
spec = {
{ import = "plugins" },
},
install = { colorscheme = { "habamax" } },
checker = { enabled = true, notify = false },
})

View file

@ -0,0 +1,8 @@
return {
{
'oneslash/helix-nvim', version = "*",
config = function ()
vim.cmd.colorscheme("helix")
end,
}
}

View file

@ -0,0 +1,5 @@
return {
{
'nvim-mini/mini.nvim', version = false
}
}