idealley / graql-language-vscode

Language for Visual Studio Code
MIT License
3 stars 0 forks source link

Identifiers with hyphens are colored incorrectly #4

Open Djeez2 opened 5 years ago

Djeez2 commented 5 years ago

Example: look at the Social Network Schema file from the tutorial at the GRAKN site. In that file, they make heavy use of identifiers like $loc-cou-1. These are incorrectly colored ($loc light blue, -co red, u-1 green) GRAKN syntax highlight

xetrov3001 commented 4 years ago

I'm experiencing something similar and notice it occurs when text includes a keyword (not, has, as) before a hyphen.