The delta colour scheme is unusable and has a syntax error
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 68/100
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện delta theme với repro.lua được cung cấp, sau đó kiểm tra cấu hình màu của delta và định nghĩa của syntax.red. Xác minh rằng các màu đã chỉnh sửa dễ đọc và việc mở một git diff không còn thất bại với lỗi syntax.red.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.)
- Ngôn ngữ chính
- Lua
- Star
- 164
- Fork
- 20
- Merge trung bình
- 10 giờ 5 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của AstroNvim/astrotheme
-
Previous dark colorschemeĐang mởWIP
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
AstroNvim/astrotheme#78 · 3 bình luận · 1 reaction ·
Tất cả issue của AstroNvim/astrotheme
Issue tương tự
-
bug code-annotation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
quarto-dev/quarto-cli#15215 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
P-47D: GEAR_LVR always reads 1Có thể đã có người làm @cbass2404 đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
DCS-Skunkworks/dcs-bios#1932 ·
-
Dukes - MaterialsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
StyledStrike/gmod-glide#381 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
JohnnyMorganz/luau-lsp#1673 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày