Skip to content

line_break in theme.ron is interpreted incorrectly #2312

Open
@savchenko

Description

@savchenko

Describe the bug
Line-breaks colour is rendered verbatim, as the HEX colour.

To Reproduce
Add the following to your theme.ron

( 
  line_break: Some("#005e8b")
)

Expected behavior
Hunks in gitui are exactly the same as in the git diff and files on disk.

Screenshots
image

image

Context (please complete the following information):

  • OS/Distro + Version: Debian 12
  • GitUI Version: nightly 2024-06-28 (95e1d4d) as well as the release build from 4ef633a
  • Rust version: rustc 1.76.0 (07dca489a 2024-02-04)

Additional context
The 005e8b string is not a git commit hash, e.g. git show 005e8b returns nil.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions