# Weird alignment behaviour with haskell

**URL:** <https://discuss.kakoune.com/t/weird-alignment-behaviour-with-haskell/1262>\
**Category:** Help\
**Tags:** language\
**Created:** [September 12, 2020, 7:54pm UTC](https://discuss.kakoune.com/t/weird-alignment-behaviour-with-haskell/1262 "2020-09-12T19:54:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tgirod](https://discuss.kakoune.com/letter_avatar_proxy/v4/letter/t/35a633/32.png) [@tgirod](https://discuss.kakoune.com/u/tgirod)\
**Post date:** [September 12, 2020, 7:54pm UTC](https://discuss.kakoune.com/t/weird-alignment-behaviour-with-haskell/1262/1 "2020-09-12T19:54:08Z")

</div>

Sometimes, when I add a new line inside a parenthesis, haskell’s highlighters are doing weird auto-align stuff. Is it expected behaviour ?

[https://asciinema.org/a/HzUwTyWfOvlAnk2VHyEnmilPV](https://asciinema.org/a/HzUwTyWfOvlAnk2VHyEnmilPV)

---

<div class="post-metadata">

**Author:** ![duncan](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/duncan/32/95_2.png) [@duncan](https://discuss.kakoune.com/u/duncan)\
**Post date:** [September 23, 2020, 11:01pm UTC](https://discuss.kakoune.com/t/weird-alignment-behaviour-with-haskell/1262/2 "2020-09-23T23:01:12Z")

</div>

HI @tgirod, are you able to put the asciicast back up so I can mirror your bug in my terminal please.

* * *

My apologies, it was just an incompatible plugin that was causing the issue: [manual-indent.kak](https://github.com/alexherbo2/manual-indent.kak), still a great plugin for all other filetypes.

Thanks guys. Bye 👋

* * *

Quick _“Where’s Wally”_ link to the [haskell.kak](https://github.com/mawww/kakoune/blob/master/rc/filetype/haskell.kak) filetype for you tgirod.

* * *

> [@tgirod](#):
>
> I don’t have the asciicast anymore

no worries.

---

<div class="post-metadata">

**Author:** ![tgirod](https://discuss.kakoune.com/letter_avatar_proxy/v4/letter/t/35a633/32.png) [@tgirod](https://discuss.kakoune.com/u/tgirod)\
**Post date:** [October 10, 2020, 7:40pm UTC](https://discuss.kakoune.com/t/weird-alignment-behaviour-with-haskell/1262/3 "2020-10-10T19:40:22Z")

</div>

Hey Duncan, thanks for the work! I’m sorry, unfortunately I don’t have the asciicast anymore …
