Start neovim config from scratech

This commit is contained in:
2026-03-12 13:35:06 +00:00
parent 1e71f20662
commit ecefd423fd
13 changed files with 20 additions and 398 deletions

View File

@@ -1,2 +1,18 @@
-- bootstrap lazy.nvim, LazyVim and your plugins
require("config.lazy")
-- Bootstrap lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.fn.isdirectory(lazypath) then
vim.fn.system({
"git", "clone", "--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable",
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
-- Set leader key before lazy (important!)
vim.g.mapleader = " "
vim.g.maplocalleader = " "
-- Load lazy with your plugins
require("lazy").setup("plugins")