The delta colour scheme is unusable and has a syntax error

已关闭 适合新手
#184 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@astronvimbot 已经在做这个了。

开始于 2026年10月15日。

  • #185 来自 @astronvimbot —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
lua, neovim
领域
design

调研方向

首先使用提供的 repro.lua 复现 delta theme,然后检查 delta 的颜色配置和 syntax.red 定义。验证修改后的颜色是否易读,以及打开 git diff 时不再因 syntax.red 错误而失败。

由索引模型根据 Issue 内容生成。

描述

bug good first issue
Checklist
  • I have searched through the AstroNvim documentation
  • I have searched through the existing issues of this project
  • I have searched the existing issues of plugins related to this issue
  • I can replicate the bug with the minimal repro.lua provided below
Neovim version (nvim -v)

irrelevant

Operating system/version

irrelevant

Terminal/GUI

irrelevant

Describe the bug

the given delta config is pretty much unusable extremely bright red and green and you cant read anything.
also syntax.red throws an error and delta doesnt even open (using git diff).

I had to use claude code to change every single value for it to be manageable

Steps to Reproduce

just setup delta theme and use it

Expected behavior

actual usable colours

Screenshots

No response

Additional Context

No response

Minimal configuration
-- save as repro.lua
-- run with nvim -u repro.lua
-- DO NOT change the paths
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "runtime", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  -- stylua: ignore
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
end
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)

-- install plugins
local plugins = {
  { "AstroNvim/AstroNvim", import = "astronvim.plugins" },
  { "AstroNvim/astrocommunity" },

  -- add any other plugins/customizations here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

-- add anything else here (autocommands, vim.filetype, etc.)
主要语言
Lua
星标
165
派生
20
平均合并
10 小时 5 分钟
30 天内合并 PR
2

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

AstroNvim/astrotheme 的其他 Issue

查看 AstroNvim/astrotheme 的全部 Issue

相似的 Issue

更多 Lua Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。