Skip to content

feat(diff): apply all code blocks for a file at once when showing diff - #1409

Merged
deathbeam merged 1 commit into
CopilotC-Nvim:mainfrom
deathbeam:apply-all-codeblocks
Sep 13, 2025
Merged

feat(diff): apply all code blocks for a file at once when showing diff#1409
deathbeam merged 1 commit into
CopilotC-Nvim:mainfrom
deathbeam:apply-all-codeblocks

Conversation

@deathbeam

Copy link
Copy Markdown
Collaborator

Refactored diff preview logic to process all code blocks for a file in one pass, improving consistency and correctness. Updated diff utility functions to accept lines instead of buffer numbers, and adjusted context lengths for more accurate region detection.

Refactored diff preview logic to process all code blocks for a file
in one pass, improving consistency and correctness. Updated diff utility
functions to accept lines instead of buffer numbers, and adjusted context
lengths for more accurate region detection.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
@deathbeam deathbeam added the enhancement New feature or request label Sep 13, 2025
@deathbeam
deathbeam merged commit a88874e into CopilotC-Nvim:main Sep 13, 2025
4 checks passed
@deathbeam
deathbeam deleted the apply-all-codeblocks branch September 13, 2025 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant