The delta colour scheme is unusable and has a syntax error
評価
調査の方向性
まず、提供された repro.lua で delta theme を再現し、次に delta の色設定と syntax.red の定義を確認します。変更後の色が読みやすいこと、および git diff を開いても syntax.red エラーで失敗しなくなったことを確認してください。
索引モデルが 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.luaprovided 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
- スター
- 164
- フォーク
- 20
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AstroNvim/astrotheme のほかの issue
-
WIP
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
AstroNvim/astrotheme#78 · コメント 3 件 · リアクション 1 件 ·
AstroNvim/astrotheme の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 5 日以内に返信
-
documentation good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
eugenioenko/ttt#1000 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
@ Mainmenu / Settingsmenu UI/UX Unconfirmed bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
luanti-org/luanti#17669 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
dense-analysis/ale#5174 ·