Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect syntax scope after setting #19

Closed
crazygolem opened this issue May 2, 2023 · 3 comments
Closed

Incorrect syntax scope after setting #19

crazygolem opened this issue May 2, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@crazygolem
Copy link

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

@nk9
Copy link
Owner

nk9 commented May 2, 2023

Thanks very much for the report, I'll have a look.

nk9 added a commit that referenced this issue May 2, 2023
@nk9 nk9 added the bug Something isn't working label May 3, 2023
nk9 added a commit that referenced this issue May 5, 2023
nk9 added a commit that referenced this issue May 5, 2023
@nk9
Copy link
Owner

nk9 commented May 5, 2023

This should be fixed now. Please download release 1.1.4 via PackageControl.

@crazygolem
Copy link
Author

I confirm that this bug is resolved, thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants