Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improved preview_hunk_inline() #671

Merged
merged 1 commit into from
Apr 28, 2023
Merged

feat: improved preview_hunk_inline() #671

merged 1 commit into from
Apr 28, 2023

Conversation

lewis6991
Copy link
Owner

@lewis6991 lewis6991 commented Nov 7, 2022

Old:
image

New:
image

@lewis6991 lewis6991 marked this pull request as draft November 7, 2022 16:33
@lewis6991 lewis6991 force-pushed the feat/virt_lnum branch 3 times, most recently from 97e044b to ff1b97c Compare April 28, 2023 09:29
@lewis6991 lewis6991 marked this pull request as ready for review April 28, 2023 09:29
@lewis6991 lewis6991 changed the title feat: add line numbers to virt lines feat: improved preview_hunk_inline() Apr 28, 2023
(experimental)

Uses a second buffer and a floating window in order to display syntax
highlighting in the deleted lines.

Need to set `_inline2 = true` in `setup()` to enable.
@lewis6991 lewis6991 merged commit 319a248 into main Apr 28, 2023
@lewis6991 lewis6991 deleted the feat/virt_lnum branch April 28, 2023 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant