crystal-lang-tools / sublime-crystal

Crystal syntax highlighting for Sublime Text
Other
86 stars 18 forks source link

Highlight `?` in method definitions consistently #29

Closed faultyserver closed 6 years ago

faultyserver commented 6 years ago

When implementing a nilable accessor method ([]?), the trailing ? does not get highlighted along with the brackets. However, when appending a ? to normal query methods, the ? is highlighted with the name:

screen shot 2017-10-30 at 9 20 21 am

For consistency, it'd be nice to have the full []? be highlighted together :)

faustinoaq commented 6 years ago

Happens in vscode as well

screenshot_20171030_201408