ctrl k
  • lua/config/lazy.lua
    ■ ■ ■ ■ ■ ■
    skipped 5 lines
    6 6  end
    7 7  vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
    8 8   
    9  --- Customize dev patterns
    10  -local dev_patterns = {}
    11  - 
    12  --- table.insert(dev_patterns, "AstroNvim") -- local AstroNvim
    13  - 
    14  -if vim.env.LAZY then table.insert(dev_patterns, "lazy.nvim") end
    15  - 
    16 9  require("lazy").setup({
    17 10   {
    18 11   "AstroNvim/AstroNvim",
    skipped 9 lines
    28 21   -- { import = "astrocommunity.pack.lua" },
    29 22   { import = "plugins" },
    30 23  }, {
    31  - dev = { patterns = dev_patterns },
     24 + dev = {
     25 + -- TODO: uncomment when PR merged: https://github.com/folke/lazy.nvim/pull/1157
     26 + -- ---@param plugin LazyPlugin
     27 + -- path = function(plugin)
     28 + -- local dir = plugin.url:match "^https://(.*)%.git$"
     29 + -- return dir and vim.env.GIT_PATH and vim.env.GIT_PATH .. "/" .. dir or "~/projects/" .. plugin.name
     30 + -- end,
     31 + patterns = {
     32 + -- "AstroNvim", -- local AstroNvim
     33 + },
     34 + },
    32 35   defaults = { lazy = true },
    33 36   diff = { cmd = "terminal_git" },
    34 37   install = { colorscheme = { "catppuccin", "astrodark", "habamax" } },
    skipped 15 lines
Please wait...
Page is in error, reload to recover