HarlemSquirrel / language-haml

Haml language grammar for GitHub's Atom IDE
MIT License
33 stars 24 forks source link

Commenting out grey out excess text #37

Closed freemanoid closed 9 years ago

freemanoid commented 9 years ago

atom 0.209 language-haml 0.21

atom_haml_language_bug

= foo
- if link_to "Home", root_path
  %div

I believe that the - and root_path at the 2 line shouldn't be greyed when I comment out the 1st line.

ezekg commented 9 years ago

Hitting this issue as well.

pirminis commented 9 years ago

+1

this is extremely annoying issue. the next line after the comment gets comment's CSS classes like it was a commented line. but it's not.

PascalPixel commented 9 years ago

Same here, in HAML with Rails, if I comment out a line with -# or / or // the subsequent line in italics and some text greyed out as well.

screenshot 2015-07-15 12 26 55 screenshot 2015-07-15 12 40 12
nekath commented 9 years ago

+1 I think my issue is quite related:

Atom: 1.0.2 language-haml 0.21

%a.tab#pricing-tab{ href: '#pricing', data: { toggle: 'tab' } } Pricing/Availability Whole #pricing-tab and text to the end of the line is grayed out as comment.

gkrawiec commented 9 years ago

+1

kakipo commented 9 years ago

+1

Gyazo - 64e14022d4ff88ebb29c9fc51b7e30ca.gif

kausters commented 9 years ago

+1 with haml native comments

haml 1 haml 2

ezekg commented 9 years ago

See #20 for current progress on this issue.

ezekg commented 9 years ago

Should be fixed in 0.22.0.