Skip to content

toggling a comment does not work in Haskell-Cabal mode #1743

@FabArd

Description

@FabArd

When I want to uncomment a line in the Haskell-Cabal mode it doesn't work if the line starts with a space.

Exemple : if I want to uncomment the above line with C-x C-;
-- other-modules:
will result in
-- -- other-modules:

It seems that uncommenting a line that starts with a space is impossible.
No problem when the line do not start with space : toggling is correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions