AstroNvim v5 (#29)
* fix(astrocore): update to the new `diagnostics` settings style * fix(mason): move to installing Mason packages with `mason-tool-installer.nvim` * fix(user): update dashboard header example to use `snacks.dashboard` * fix(lazy_setup): bump version to v5 for release
This commit is contained in:
		@@ -1,6 +1,7 @@
 | 
			
		||||
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
 | 
			
		||||
 | 
			
		||||
-- You can also add or configure plugins by creating files in this `plugins/` folder
 | 
			
		||||
-- PLEASE REMOVE THE EXAMPLES YOU HAVE NO INTEREST IN BEFORE ENABLING THIS FILE
 | 
			
		||||
-- Here are some examples:
 | 
			
		||||
 | 
			
		||||
---@type LazySpec
 | 
			
		||||
@@ -17,26 +18,28 @@ return {
 | 
			
		||||
 | 
			
		||||
  -- == Examples of Overriding Plugins ==
 | 
			
		||||
 | 
			
		||||
  -- customize alpha options
 | 
			
		||||
  -- customize dashboard options
 | 
			
		||||
  {
 | 
			
		||||
    "goolord/alpha-nvim",
 | 
			
		||||
    opts = function(_, opts)
 | 
			
		||||
      -- customize the dashboard header
 | 
			
		||||
      opts.section.header.val = {
 | 
			
		||||
        " █████  ███████ ████████ ██████   ██████",
 | 
			
		||||
        "██   ██ ██         ██    ██   ██ ██    ██",
 | 
			
		||||
        "███████ ███████    ██    ██████  ██    ██",
 | 
			
		||||
        "██   ██      ██    ██    ██   ██ ██    ██",
 | 
			
		||||
        "██   ██ ███████    ██    ██   ██  ██████",
 | 
			
		||||
        " ",
 | 
			
		||||
        "    ███    ██ ██    ██ ██ ███    ███",
 | 
			
		||||
        "    ████   ██ ██    ██ ██ ████  ████",
 | 
			
		||||
        "    ██ ██  ██ ██    ██ ██ ██ ████ ██",
 | 
			
		||||
        "    ██  ██ ██  ██  ██  ██ ██  ██  ██",
 | 
			
		||||
        "    ██   ████   ████   ██ ██      ██",
 | 
			
		||||
      }
 | 
			
		||||
      return opts
 | 
			
		||||
    end,
 | 
			
		||||
    "folke/snacks.nvim",
 | 
			
		||||
    opts = {
 | 
			
		||||
      dashboard = {
 | 
			
		||||
        preset = {
 | 
			
		||||
          header = table.concat({
 | 
			
		||||
            " █████  ███████ ████████ ██████   ██████ ",
 | 
			
		||||
            "██   ██ ██         ██    ██   ██ ██    ██",
 | 
			
		||||
            "███████ ███████    ██    ██████  ██    ██",
 | 
			
		||||
            "██   ██      ██    ██    ██   ██ ██    ██",
 | 
			
		||||
            "██   ██ ███████    ██    ██   ██  ██████ ",
 | 
			
		||||
            "",
 | 
			
		||||
            "███    ██ ██    ██ ██ ███    ███",
 | 
			
		||||
            "████   ██ ██    ██ ██ ████  ████",
 | 
			
		||||
            "██ ██  ██ ██    ██ ██ ██ ████ ██",
 | 
			
		||||
            "██  ██ ██  ██  ██  ██ ██  ██  ██",
 | 
			
		||||
            "██   ████   ████   ██ ██      ██",
 | 
			
		||||
          }, "\n"),
 | 
			
		||||
        },
 | 
			
		||||
      },
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  -- You can disable default plugins as follows:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user