You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
undefined in JS is a value of type undefined. But you cannot refer to the type undefined anyhow. I.e., when you use typeof x you compare it with a string. So, the JS case is slightly different.
Perhaps, it is a good idea to give unit the @type.builtin group rather than just @type. If so, should the bool, string, int, float get the same group too?
Why true and false are not @boolean group? int as @number and float as @float?
Pretty sure it’s because highlights.scm is heavily based on JavaScript’s highlight.scm and they are done there the same way. So, no particular strong reason.
For javascript, undefined have it's own color. I think we can have a dedicated color for unit ?
The text was updated successfully, but these errors were encountered: