Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comment-dwim Does Not Uncomment If Nesting > 1 #37

Open
sshaw opened this issue Oct 1, 2017 · 1 comment
Open

comment-dwim Does Not Uncomment If Nesting > 1 #37

sshaw opened this issue Oct 1, 2017 · 1 comment

Comments

@sshaw
Copy link

sshaw commented Oct 1, 2017

comment-dwim works with this:

%p Foo

But not with this:

%div
  %p Foo

Using master.

Here's a screen capture:

haml-mode

@purcell
Copy link
Collaborator

purcell commented Oct 2, 2017

Yup. I think it has never worked properly, partly because comments are a tricky business in haml: you can comment a whole nested block by adding -# to just the top-level node, so the idea of uncommenting the current line or region is more complex than just looking at the line beginnings.

With a bit more time this could likely be patched, but I'm really the only active committer these days, and I'm not using haml enough for this to be worth my time, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants