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

Thu, 09 Mar 2023 12:45:11 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 09 Mar 2023 12:45:11 -0600
changeset 1073
911aa9d81e71
parent 1064
fcfa295076a8
child 1101
40419d8e3cbb
permissions
-rw-r--r--

Switch to kanagawa until themer's jellybeans is fixed

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",
    --   },
    -- },
    {
      "rebelot/kanagawa.nvim",
      priority = 1000,
      opts = {
        keywordStyle = { italic = false },
        statementStyle = { bold = false },
        colors = {
          theme = {
            all = {
              ui = {
                bg = "none",
                bg_gutter = "none",
              },
            },
          },
        },
      },
      config = function(_, opts)
        require("kanagawa").setup(opts)
        vim.cmd("colorscheme kanagawa")
      end,
    },
    { import = "plugins" },
  },
  change_detection = { enabled = false },
  performance = {
    rtp = {
      disabled_plugins = {
        "gzip",
        "tarPlugin",
        "tohtml",
        "zipPlugin",
        "tutor",
      },
    },
  },
})

mercurial