Skip to content

[BUG] Alert Policies are not correctly highlighted when they don't exist #59

@nieomylnieja

Description

@nieomylnieja

Describe the bug

Non existent Alert Policies in SLO are not highlighted properly, this is likely a bug which will manifest in other JSON-style lists too.
Image

To Reproduce

Define an SLO with non-existing Alert Policies.

Expected behavior

The error highlighting should be on the whole value.

System details (please complete the following information)

  • OS: NixOS 25
  • nobl9-language-server v0.3.5

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