-- Path where lazy.nvim will be installed local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" -- Auto-install lazy.nvim if not present 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", lazypath, }) end -- Add lazy.nvim to runtime path vim.opt.rtp:prepend(lazypath) -- Initialize lazy.nvim local plugins = { require("plugins.colorschemes"), -- theme require("plugins.lsp"), -- LSP require("plugins.telescope"), -- fuzzy finder require("plugins.treesitter"), -- syntax tree } require("lazy").setup(plugins)