Skip to content

[BUG] Proposed change has no syntax highlighting #20

Open
@jannikweichert

Description

@jannikweichert

Bug Description

When Claude Code opens the proposed change, it has no syntax highlighting due to a missing filetype of the diff file.

To Reproduce

Ask Claude Code for a change in a file you have syntax highlighting in (e.g. typescript)

Expected Behavior

Syntax Highlighting should be same as origin file.

Environment

  • Neovim version: 0.11.2
  • Claude Code CLI version: 1.0.16
  • OS: macOS 15.3.1
  • Plugin version: 0.1.0

Additional Context

If you execute :set filetype=typescript the diff is displayed correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions