Closed pedantic-git closed 7 years ago
Good catch. I actually don't think there's an override of any Ruby snippets. I'll try and see what is causing this. Feel free to dig in and submit a PR if you have time to investigate before I get a chance. Might need to define our own snippets for Haml to override Ruby's snippets.
Thanks! I've never worked in Atom's snippets code so I'm afraid I'd be at a loss but let me know if there's anything I can do re: reproducing it etc.
Fixed in v0.25. 👍
Sorry if I'm misunderstanding something - this could turn out to just be my settings.
It seems like
language-haml
calls into various autocompletions from thelanguage-ruby
.When a line ends with
do
, it adds a line below withend
, which would be correct in Ruby but not in Haml. The same thing doesn't happen forif
-statements so I'm guessing whatever override you have for those should also apply to blocks?