Skip to content

Highlight is off if \n in template #180

@mjl

Description

@mjl

I have the following in my .config/jj/config.toml:

[templates]
log = "builtin_log_compact_full_description"

[template-aliases]
description_placeholder = '"(no description)\n"' # Adds LF to top change

because I like an empty line on my current changeset.

lazyjj displays the following:

Image

and when I press the down arrow, this:

Image

It seems, lazyjj is confused by the \n and all highlights below are off by one?

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