nvim/init.lua
Simon Lasbrugnas 4fabec4249
feat: cleanup config
Change folder architecture and separate all plugins into their own files
2024-11-09 20:37:37 +01:00

24 lines
512 B
Lua

require("config.options")
require("config.keymaps")
-- Boostrap lazy.nvim
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
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({ import = "custom/plugins" }, {
change_detection = {
notify = false,
},
})
vim.cmd([[colorscheme mellow]])