Skip to content

Incorrect syntax scope after setting #19

@crazygolem

Description

@crazygolem

The syntax rules seem to not handle correctly the first assignment following a setting.

I tried to look into it and I have a hunch that it might be caused by something incorrect with the settings-boolean rule, but I'm not familiar enough with the syntax configuration to figure it out.

Example

set positional-arguments

export ONE := "1"
export TWO := "02"

set export := false

THREE := "003"
FOUR := "0004"

set shell := ["python3", "-c"]

export FOO := "bar"
export HELLO := "world"

is highlighted as

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions