apple / pkl-vscode

Pkl language support for VS Code
https://pkl-lang.org/vscode/current/index.html
Apache License 2.0
117 stars 4 forks source link

Assignment `=` error in `index.pkl` #7

Closed RedCMD closed 1 month ago

RedCMD commented 9 months ago

The assignment operator = is reported as an error invalid.illegal.pkl in the file index.pkl https://github.com/apple/pkl-vscode/blob/c7b00480b7c5d669b6dae630be3974cd72c181e5/src/pkl/index.pkl#L19-L20 image

stackoverflow commented 9 months ago

Our TextMate grammar is pretty bare bones at the moment. I'll take a second look at it soon.

RedCMD commented 9 months ago

The TextMate grammar correctly tokenizes it as keyword.operator.pkl it's the semantic highlighting from Tree-sitter that's causing the error

stackoverflow commented 9 months ago

Ah yes, I somehow missed that from your image. You can create an issue on our tree-sitter repo.

bioball commented 1 month ago

I believe this is fixed.

Screenshot 2024-10-10 at 4 17 37 PM