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

error: Error loading syntax file "...Dockerfile-bash.sublime-syntax": ...: no such target scope:source.json#arrays #44

Open
mlalpho opened this issue Jun 25, 2024 · 1 comment

Comments

@mlalpho
Copy link

mlalpho commented Jun 25, 2024

When switching to Dockerfile-bash syntax, an error pops up and breaks syntax highlighting. I think this is related to the recent commit, but, I don't know any context on the change.

I was able to workaround by setting an Override (i.e. adding Folder, Packages\Dockerfile Syntax Highlighting\Syntaxes, with modified Dockerfile-bash.sublime-syntax inside.

image

https://github.com/asbjornenge/Docker.tmbundle/blame/c001fb280561d7c16f0f2837d76af493cf6c3bf8/Syntaxes/Dockerfile-bash.sublime-syntax#L53

Sublime Text Build 4169
Windows 10

@princemaple
Copy link
Collaborator

princemaple commented Jun 27, 2024

In Dev build 4175 (or a version in between 4169 and 4175, I can't remember) they changed it from array to arrays.

An override will have to be used for now, until a newer stable version is out.

sublimehq/Packages@1e3ffae#diff-6f9ea69e5ca5975db738156a2e4b01dbd0c4b5b77a5989acd61dacc1abc38cd4L51

sublimehq/Packages@1e3ffae#diff-6f9ea69e5ca5975db738156a2e4b01dbd0c4b5b77a5989acd61dacc1abc38cd4R104

@princemaple princemaple pinned this issue Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants