Closed armed closed 8 years ago
The indentation also does work on a newline if you use do
instead of do:
@armed: I'm not sure that this is a bug. In this case the do is a keyword. Should we have a special case for do:
as a keyword? My gut feeling is that we shouldn't.
@nii236: I'll take a look at this.
@keathley: Thanks! I added two gifs comparing vim
and atom
for your reference.
@keathley I got your point, but what confused me is that before commit 264ffbf528fcb3129c191d60d8aa22b6770d3449 do:
along with do
was highlighted as other keywords.
edit:
@nii236, I agree with @keathley's opinion, so this issue may be closed if there is no more questions.
That's fine, I'll make a new issue
@armed Sorry for the confusion. I wish there was a better way to communicate these sorts of changes so people aren't surprised by them. It would be cool if atom pulled in release notes or something similar.
do:
with semicolon is highlighted as map/keyword key: