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
? can be used as a unary operator. I'm not 100% sure when this feature was added, but it is starting to be used in the data ecosystem (see Nulls.jl). Anyway, currently using ? this way totally screws up delimiters, presumably because julia-vim expects ? to be a ternary operator. If it helps, ternary operators without spaces are very likely to eventually be deprecated, and it seems like really bad practice anyway, so if it made things easier to not recognize ternary operators without spaces, I suspect that wouldn't be such a bad thing.
The text was updated successfully, but these errors were encountered:
Note that with this change spaces are required on both sides of ? when it's used as a ternary operator. Which is not what the julia parser does, but anyway it's a decent compromise I think.
?
can be used as a unary operator. I'm not 100% sure when this feature was added, but it is starting to be used in the data ecosystem (see Nulls.jl). Anyway, currently using?
this way totally screws up delimiters, presumably because julia-vim expects?
to be a ternary operator. If it helps, ternary operators without spaces are very likely to eventually be deprecated, and it seems like really bad practice anyway, so if it made things easier to not recognize ternary operators without spaces, I suspect that wouldn't be such a bad thing.The text was updated successfully, but these errors were encountered: