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

Indent: Adding "do" inside a comment impacts indentation #569

Open
ppikula opened this issue Dec 29, 2023 · 3 comments
Open

Indent: Adding "do" inside a comment impacts indentation #569

ppikula opened this issue Dec 29, 2023 · 3 comments

Comments

@ppikula
Copy link

ppikula commented Dec 29, 2023

Actual

defmodule Indent do
  def func() do
    # do nothing
      :ok
    end
end

Expected

defmodule Indent do
  def func() do
    # do nothing
    :ok
  end
end
@sodapopcan
Copy link
Collaborator

What does :echo &fo give you? I'm unable to reproduce with the default settings (tcq) or my own settings (21croqlj).

@ppikula
Copy link
Author

ppikula commented Jun 28, 2024

Hey, It outputs croqlj

@sodapopcan
Copy link
Collaborator

That's very odd since r should auto-append the leader. Perhaps it's a plugin causing this? It could be a plugin on my side too, I can investigate later.

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