mirror of
https://github.com/Cian-H/my_nvim_config.git
synced 2025-12-22 20:21:57 +00:00
24 lines
659 B
Lua
24 lines
659 B
Lua
-- Enable experimental fast lua module loader
|
|
vim.loader.enable()
|
|
|
|
require("config")
|
|
require("keybindings")
|
|
|
|
-- 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
|
|
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
require("lazy").setup("plugins", opts)
|
|
require("nvim-web-devicons").refresh() -- This fixes screwiness with the devicon colors
|