Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Lines starting with # break indentation #49

@ppom0

Description

@ppom0

It seems like lines starting with # (either a nix comment or in a ''double apostrophe'' string, like a shebang for example) reset previous indentation.

{
    # bad indentation on this comment will propagate
    # to the next lines if typing `=i{`
  programs.fish.enable = true;
}

↓ (after typing =i{)

{
    # bad indentation on this comment will propagate
    # to the next lines if typing `=i{`
    programs.fish.enable = true;
  }

This makes it hard to apply the new indentation of a block, when surrounded by new {} for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions