Skip to content

Nix injection incorrectly highlights elements as strings #18

@aldoborrero

Description

@aldoborrero

Mirrored from nix-community#49 by @mydumpfire (opened 2024-03-02T15:32:00Z).

This issue is tracked here so the fork can work on it; upstream may not respond. Please add new context in this issue.


This is how bash is normally highlighted (on helix, with the built-in tokyonight theme):

image

And this is how it looks like in an injected nix string block:

image

A lot of stuff that shouldn't be highlighted as a string, gets highlighted as one.

On the other hand, neovim doesn't seem to have this problem:

image

Anyone know what's causing this issue?

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