Skip to content

turn-on-haskell-indent doesn't work #1860

Open

Description

@turboMaCk

I prefer behaviour of haskell-indent-mode since I like to use it to repate function name between type anotation and implementation.

Following manual for haskell-mode https://haskell.github.io/haskell-mode/manual/latest/Indentation.html

I tried to add:

(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)

into configuration but it doesn't seem to have an effect.

When I open a .hs file, haskell-mode is enabled but I still see haskell-indentiation-mode is used and I need to manually start haskell-indent-mode.

I did not (yet) find any way how to realiably add haskell-indent-mode onto haskelll-mode-hook yet so I have no workaround.

Activity

  1. Hi-Angel commented on Mar 4, 2025

    @Hi-Angel
    Contributor

    I didn't study it, but from a cursory look I don't see enabling inden-mode inside the "turn-on" function, so maybe that's the bug. If you feel motivated, you might test that to make sure and send a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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