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:
@@ -8,6 +8,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- **Avante.nvim AI Assistant**: Added Avante.nvim with local LLM support to README documentation
|
||||||
|
- **Bash Treesitter Parser**: Installed bash parser for noice.nvim cmdline highlighting
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- **Auto-session Lazy Loading**: Changed from `event = "VeryLazy"` to `lazy = false` to enable session auto-restore on startup
|
||||||
|
- **Alpha Dashboard Config**: Fixed `enable` to `enabled` (correct lazy.nvim spec key)
|
||||||
|
- **Snacks vs Alpha Conflict**: Disabled `Snacks.dashboard` in favor of `alpha-nvim` for CARGDEV branding
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
- **Java Debug & Run Keymaps**: New keybindings for Java development
|
- **Java Debug & Run Keymaps**: New keybindings for Java development
|
||||||
- `<leader>jd` - Debug Class (DAP)
|
- `<leader>jd` - Debug Class (DAP)
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ nvim
|
|||||||
- **File Navigation**: Snacks.nvim (modern) + Telescope (git features)
|
- **File Navigation**: Snacks.nvim (modern) + Telescope (git features)
|
||||||
- **File Explorer**: nvim-tree
|
- **File Explorer**: nvim-tree
|
||||||
- **Git Integration**: LazyGit, Gitsigns
|
- **Git Integration**: LazyGit, Gitsigns
|
||||||
- **AI Assistant**: GitHub Copilot with Copilot Chat
|
- **AI Assistants**: GitHub Copilot + [Avante.nvim](https://github.com/yetone/avante.nvim) (local LLM support)
|
||||||
- **Debugging**: DAP with UI
|
- **Debugging**: DAP with UI
|
||||||
- **Formatting**: Conform.nvim with auto-format on save
|
- **Formatting**: Conform.nvim with auto-format on save
|
||||||
- **Diagnostics**: Trouble.nvim for organized diagnostics view
|
- **Diagnostics**: Trouble.nvim for organized diagnostics view
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
return {
|
return {
|
||||||
"goolord/alpha-nvim",
|
"goolord/alpha-nvim",
|
||||||
event = "VimEnter",
|
event = "VimEnter",
|
||||||
enable = true,
|
enabled = true,
|
||||||
config = function()
|
config = function()
|
||||||
local alpha = require("alpha")
|
local alpha = require("alpha")
|
||||||
local dashboard = require("alpha.themes.dashboard")
|
local dashboard = require("alpha.themes.dashboard")
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
return {
|
return {
|
||||||
"rmagatti/auto-session",
|
"rmagatti/auto-session",
|
||||||
event = "VeryLazy",
|
lazy = false,
|
||||||
opts = {
|
opts = {
|
||||||
log_level = "error",
|
log_level = "error",
|
||||||
auto_session_suppress_dirs = { "~/", "~/Dev/", "~/Downloads", "~/Documents", "~/Desktop/" },
|
auto_session_suppress_dirs = { "~/", "~/Dev/", "~/Downloads", "~/Documents", "~/Desktop/" },
|
||||||
|
|||||||
@@ -50,10 +50,7 @@ return {
|
|||||||
-- Enable all snacks modules
|
-- Enable all snacks modules
|
||||||
bigfile = { enabled = true },
|
bigfile = { enabled = true },
|
||||||
dashboard = {
|
dashboard = {
|
||||||
enabled = true,
|
enabled = false, -- Disabled: using alpha-nvim for CARGDEV branding
|
||||||
autostart = true,
|
|
||||||
-- Ensure dashboard setup runs
|
|
||||||
auto_open = false,
|
|
||||||
},
|
},
|
||||||
explorer = { enabled = true },
|
explorer = { enabled = true },
|
||||||
image = {
|
image = {
|
||||||
@@ -82,19 +79,7 @@ return {
|
|||||||
hl = { enabled = true },
|
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
|
-- Set up vim.ui.input and vim.ui.select for snacks
|
||||||
-- Use vim.schedule to ensure this runs after all plugins are loaded
|
-- Use vim.schedule to ensure this runs after all plugins are loaded
|
||||||
vim.schedule(function()
|
vim.schedule(function()
|
||||||
|
|||||||
Reference in New Issue
Block a user