fix(config): resolve health check warnings and update docs
- Fix auto-session lazy loading to enable session restore - Fix alpha.lua `enable` → `enabled` typo - Disable Snacks.dashboard to prevent conflict with alpha-nvim - Add Avante.nvim to README AI assistants section - Install bash treesitter parser for noice cmdline highlighting - Update changelog with fixes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
return {
|
||||
"goolord/alpha-nvim",
|
||||
event = "VimEnter",
|
||||
enable = true,
|
||||
enabled = true,
|
||||
config = function()
|
||||
local alpha = require("alpha")
|
||||
local dashboard = require("alpha.themes.dashboard")
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
return {
|
||||
"rmagatti/auto-session",
|
||||
event = "VeryLazy",
|
||||
lazy = false,
|
||||
opts = {
|
||||
log_level = "error",
|
||||
auto_session_suppress_dirs = { "~/", "~/Dev/", "~/Downloads", "~/Documents", "~/Desktop/" },
|
||||
|
||||
@@ -50,10 +50,7 @@ return {
|
||||
-- Enable all snacks modules
|
||||
bigfile = { enabled = true },
|
||||
dashboard = {
|
||||
enabled = true,
|
||||
autostart = true,
|
||||
-- Ensure dashboard setup runs
|
||||
auto_open = false,
|
||||
enabled = false, -- Disabled: using alpha-nvim for CARGDEV branding
|
||||
},
|
||||
explorer = { enabled = true },
|
||||
image = {
|
||||
@@ -82,19 +79,7 @@ return {
|
||||
hl = { enabled = true },
|
||||
},
|
||||
})
|
||||
|
||||
-- Force dashboard module initialization
|
||||
-- Access the dashboard module to ensure its setup function runs
|
||||
vim.defer_fn(function()
|
||||
pcall(function()
|
||||
local dashboard = require("snacks.dashboard")
|
||||
-- Access the module to trigger lazy initialization if needed
|
||||
if dashboard and type(dashboard) == "table" then
|
||||
-- Module loaded successfully
|
||||
end
|
||||
end)
|
||||
end, 100)
|
||||
|
||||
|
||||
-- Set up vim.ui.input and vim.ui.select for snacks
|
||||
-- Use vim.schedule to ensure this runs after all plugins are loaded
|
||||
vim.schedule(function()
|
||||
|
||||
Reference in New Issue
Block a user