Arcensoth / language-mcfunction

Syntax highlighting for mcfunction files.
MIT License
118 stars 13 forks source link

Lone command token is highlighted as an error #53

Open Arcensoth opened 3 years ago

Arcensoth commented 3 years ago

From https://github.com/Arcensoth/language-mcfunction/issues/52#issuecomment-890549834 :

I don't feel like this is worth opening a separate issue, I noticed that putting kill as the last thing in the file (so [ k ][ i ][ l ][ l ][EOF] - the problem doesn't happen when there's a space or a line break after it) highlights it as a syntax error: image

It's not a problem with execute or with a target: image image