PhilippeChab / nwscript-ee-language-server

A NWScript Language Server.
https://marketplace.visualstudio.com/items?itemName=PhilippeChab.nwscript-ee-language-server
MIT License
20 stars 7 forks source link

Constants highlighting does not recognize operators #44

Closed tinygiant98 closed 2 years ago

tinygiant98 commented 2 years ago

When a user does not put a space between the constant name and the operator (=), the entire line, including the semi-color is considered to be a single token. Possibly a regex issue.

image

This behavior is only present if the qualifier const is used. Otherwise, tokens are identified correctly.

PhilippeChab commented 2 years ago

Thanks for reporting this!

It will be fixed in 1.5.3.