Skip to content

Enable word diff in gitsigns.preview_hunk() ? #1493

Description

@lewis6991

Discussed in #1492

Originally posted by Thibaulltt March 13, 2026
Is it possible to have a word-diff in the preview window of require('gitsigns').preview_hunk() / :Gitsigns preview_hunk ? So far, the only configuration options I've come across are to toggle a word-diff on the whole buffer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions