.config/nvim/lua/lazy-bootstrap.lua

Mon, 06 Mar 2023 23:33:14 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 06 Mar 2023 23:33:14 -0500
changeset 1068
537a428597b5
parent 1064
fcfa295076a8
child 1073
911aa9d81e71
permissions
-rw-r--r--

tweak lazy loading

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",
    lazypath,
  })
end
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)

require("lazy").setup({
  spec = {
    {
      "themercorp/themer.lua",
      priority = 1000,
      opts = {
        colorscheme = "jellybeans",
      },
    },
    { import = "plugins" },
  },
  change_detection = { enabled = false },
  performance = {
    rtp = {
      disabled_plugins = {
        "gzip",
        "tarPlugin",
        "tohtml",
        "zipPlugin",
        "tutor",
      },
    },
  },
})

mercurial