Inserted and deleted lines receive character-level highlights
Chưa có ai nhận issue này.
- #450 của @richardgill — đã đóng, không merge
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- lua, neovim
- Lĩnh vực
- developer-experience
Hướng nghiên cứu
Start by searching the plugin for CodeDiffCharInsert and CodeDiffCharDelete and for where line-level insert/delete highlights are applied. Trace how side-by-side, inline, merge and result views each assign highlights, then separate line-wide text highlighting from character-level highlighting inside modified lines. Done means inserted/deleted lines use configurable line-level colors by default, character highlights appear only for changed text within modified lines, and all four views behave consistently. #450 was a closed unmerged attempt, so review it for prior context before starting.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Text on inserted and deleted lines with no corresponding line on the opposite side currently receives CodeDiffCharInsert or CodeDiffCharDelete. This makes the entire text look like a character-level change instead of reserving the stronger highlight for changed text within modified lines.
Expected behavior:
- Inserted and deleted lines use line-level text highlights.
- Character-level highlights are limited to changed text within modified lines.
- The inserted/deleted line text colors can be configured independently and default to the corresponding line-level colors.
- The behavior is consistent across side-by-side, inline, merge, and result views.
Related to #325, but narrower: this concerns the text highlight applied to lines without a corresponding line, rather than a separate full-row highlight for modified lines.
- Ngôn ngữ chính
- Lua
- Star
- 1.6k
- Fork
- 104
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 esmuellert/codediff.nvim
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
esmuellert/codediff.nvim#582 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
esmuellert/codediff.nvim#579 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
esmuellert/codediff.nvim#575 ·
-
Bug: explorer.focus_on_select = false ignored for added/untracked/deleted files in inline layoutĐang mởType/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
esmuellert/codediff.nvim#567 · 1 reaction ·
-
Type/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
esmuellert/codediff.nvim#565 · 1 bình luận ·
Tất cả issue của esmuellert/codediff.nvim
Issue tương tự
-
feature request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
luainkernel/lunatik#2372 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug confirmed discord guide:tyrs-watch locale:enUS navigation v0.3.2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
fitzforge/polestar#855 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
translation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
KristanLaimon/PanelsPlus#16 ·