Public Access
polish the codecompanion look, review inline diffs, inline effort medium
Chat: markdown rendered by render-markdown.nvim (chat buffer only, not markdown files), `## You` / `## Claude Code` headers as tinted bars, upright code, no line numbers. Winbar shows icon, title and agent · model · effort, with a spinner and timer while the agent works; a lualine extension shows context items and tokens. Highlights live in lua/ai_ui.lua and follow gruvbox's light/dark switch. Inline: the progress float is now a pill with per-part colours that shows done/failed/cancelled for a moment; the diff banner is a label. Inline edits always open the diff for review again (approval_mode auto was applying them straight away), and run at medium effort with every agent and model unless an adapter sets its own thought_level. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
056c309bd6
commit
6fcc20b6ff
4 files changed
+470
-69
No files matched your search
+6
-1
@@ -34,6 +34,8 @@ vim.pack.add({
|
||||
{ src = "https://github.com/r-pletnev/pdfreader.nvim" },
|
||||
-- Pinned to the major version: breaking changes land on major bumps.
|
||||
{ src = "https://github.com/olimorris/codecompanion.nvim", version = vim.version.range("^20") },
|
||||
-- Renders the CodeCompanion chat only, not markdown files (lua/ai_ui.lua).
|
||||
{ src = "https://github.com/MeanderingProgrammer/render-markdown.nvim" },
|
||||
})
|
||||
|
||||
pcall(vim.cmd.colorscheme, "gruvbox")
|
||||
@@ -287,7 +289,10 @@ vim.api.nvim_create_autocmd("FileType", {
|
||||
|
||||
-- "gruvbox" picks gruvbox_light or gruvbox_dark from 'background', and lualine
|
||||
-- reloads it when that changes.
|
||||
require("lualine").setup({ options = { theme = "gruvbox" } })
|
||||
require("lualine").setup({
|
||||
options = { theme = "gruvbox" },
|
||||
extensions = { require("ai_ui").lualine }, -- CodeCompanion chat window
|
||||
})
|
||||
|
||||
-- Treesitter (main branch: no configs.setup; install parsers manually)
|
||||
require("nvim-treesitter").install({
|
||||
|
||||
Reference in new issue
Block a user