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,38 +1,27 @@
 | 
			
		||||
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
 | 
			
		||||
 | 
			
		||||
-- Customize Mason plugins
 | 
			
		||||
-- Customize Mason
 | 
			
		||||
 | 
			
		||||
---@type LazySpec
 | 
			
		||||
return {
 | 
			
		||||
  -- use mason-lspconfig to configure LSP installations
 | 
			
		||||
  -- use mason-tool-installer for automatically installing Mason packages
 | 
			
		||||
  {
 | 
			
		||||
    "williamboman/mason-lspconfig.nvim",
 | 
			
		||||
    -- overrides `require("mason-lspconfig").setup(...)`
 | 
			
		||||
    opts = {
 | 
			
		||||
      ensure_installed = {
 | 
			
		||||
        "lua_ls",
 | 
			
		||||
        -- add more arguments for adding more language servers
 | 
			
		||||
      },
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
  -- use mason-null-ls to configure Formatters/Linter installation for null-ls sources
 | 
			
		||||
  {
 | 
			
		||||
    "jay-babu/mason-null-ls.nvim",
 | 
			
		||||
    -- overrides `require("mason-null-ls").setup(...)`
 | 
			
		||||
    "WhoIsSethDaniel/mason-tool-installer.nvim",
 | 
			
		||||
    -- overrides `require("mason-tool-installer").setup(...)`
 | 
			
		||||
    opts = {
 | 
			
		||||
      -- Make sure to use the names found in `:Mason`
 | 
			
		||||
      ensure_installed = {
 | 
			
		||||
        -- install language servers
 | 
			
		||||
        "lua-language-server",
 | 
			
		||||
 | 
			
		||||
        -- install formatters
 | 
			
		||||
        "stylua",
 | 
			
		||||
        -- add more arguments for adding more null-ls sources
 | 
			
		||||
      },
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    "jay-babu/mason-nvim-dap.nvim",
 | 
			
		||||
    -- overrides `require("mason-nvim-dap").setup(...)`
 | 
			
		||||
    opts = {
 | 
			
		||||
      ensure_installed = {
 | 
			
		||||
        "python",
 | 
			
		||||
        -- add more arguments for adding more debuggers
 | 
			
		||||
 | 
			
		||||
        -- install debuggers
 | 
			
		||||
        "debugpy",
 | 
			
		||||
 | 
			
		||||
        -- install any other package
 | 
			
		||||
        "tree-sitter-cli",
 | 
			
		||||
      },
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user