init.lua (503B)
1 vim.g.mapleader = " " 2 vim.g.maplocalleader = " " 3 4 require("core.options") 5 require("core.keymaps") 6 require("core.autocmds") 7 8 -- Bootstrap lazy.nvim 9 local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" 10 if not vim.uv.fs_stat(lazypath) then 11 vim.fn.system({ 12 "git", "clone", "--filter=blob:none", 13 "https://github.com/folke/lazy.nvim.git", 14 "--branch=stable", lazypath, 15 }) 16 end 17 vim.opt.rtp:prepend(lazypath) 18 19 require("lazy").setup("plugins", { 20 change_detection = { notify = false }, 21 })