As in the title, typing <=> results in this:
which is strange as Find Results for this piece of code renders the symbol correctly:
I think it's because no syntax definitions are applied to search result. Does this mean that SQL syntax is at fault here?PHP syntax also renders the symbol as it should.
Most likely, the SQL syntax is recognizing <= followed by >, and it isn't written to specifically recognize <=>.
OK, I did edit the following code from SQL.sublime-syntax:
- match: "[!<>]?=|<>|<|>"
- match: "<=>|[!<>]?=|<>|<|>"
and it works now, but I have no idea if it is a valid place.
If you send a pull request to https://github.com/sublimehq/Packages/pulls, the contributors can do a review and give feedback about testing and if it is the proper place to edit the syntax.