docs: carry the #562 selection-demotion notes into the README, skill and spec comment

Đang mở Phù hợp với người mới
#595 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
84/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
lua, markdown
Lĩnh vực
documentation, testing

Hướng nghiên cứu

Đọc phần theo dõi lựa chọn trong lua/claudecode/README.md, quy tắc DemotionIgnoresTerminal trong .agents/skills/verify-selection-tracking/SKILL.md và chú thích phía trên bài kiểm thử được nêu trong tests/integration/selection_held_spec.lua. Cập nhật ba phần giải thích này để phản ánh hành vi hạ cấp lựa chọn của #562; hoàn tất khi README, skill và chú thích kiểm thử mô tả nhất quán bản sửa lỗi, không thay đổi hành vi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

needs-triage

Small docs follow-up to #562 (keep the selection when the demotion fires in a Claude terminal). A parallel branch fixed the same bug, and #562 landed first. Three doc and comment updates from that branch are not on main:

  1. lua/claudecode/README.md (the selection-tracking section, about line 145): cite handle_selection_demotion and its early return in a Claude terminal buffer, where the README describes when a held selection is released.
  2. .agents/skills/verify-selection-tracking/SKILL.md: add the account of the bug #562 fixed (a demotion that was due before the terminal opened fired in the terminal and dropped the selection), next to the DemotionIgnoresTerminal rule.
  3. tests/integration/selection_held_spec.lua: the comment above "does not send a cursor of the buffer that became the Claude terminal" is stale after #562; update it.

None of these changes behavior. Owner: the next docs pass on the selection module. Deferred from the README verification run with the maintainer's agreement.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

Ngôn ngữ chính
Lua
Star
3.2k
Fork
223
Merge trung bình
7 giờ 18 phút
Pull request đã merge (30 ngày)
234

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của coder/claudecode.nvim

Tất cả issue của coder/claudecode.nvim

Issue tương tự

Thêm issue về Lua

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.