Arch 2025 rice. Also contains a newly inspired neovim config.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
604 B

  1. -- Bootstrap lazy.nvim
  2. local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
  3. if not (vim.uv or vim.loop).fs_stat(lazypath) then
  4. local lazyrepo = "https://github.com/folke/lazy.nvim.git"
  5. local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
  6. if vim.v.shell_error ~= 0 then
  7. vim.api.nvim_echo({
  8. { "Failed to clone lazy.nvim:\n", "ErrorMsg" },
  9. { out, "WarningMsg" },
  10. { "\nPress any key to exit..." },
  11. }, true, {})
  12. vim.fn.getchar()
  13. os.exit(1)
  14. end
  15. end
  16. vim.opt.rtp:prepend(lazypath)