init.lua 333 B

123456789101112131415
  1. local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
  2. if not vim.loop.fs_stat(lazypath) then
  3. vim.fn.system({
  4. "git",
  5. "clone",
  6. "--filter=blob:none",
  7. "https://github.com/folke/lazy.nvim.git",
  8. "--branch=stable",
  9. lazypath,
  10. })
  11. end
  12. vim.opt.rtp:prepend(lazypath)
  13. require("vim-options")
  14. require("lazy").setup("plugins")