neovimhaskell / haskell-vim

Custom Haskell Vimscripts
BSD 2-Clause "Simplified" License
681 stars 84 forks source link

haskell_indent_case_alternate=1 does not use the haskell_indent_case setting #118

Open Pydronia opened 4 years ago

Pydronia commented 4 years ago

When creating a new line underneath a case statement with haskell_indent_case_alternate set to 1, the line is indented to the default shiftwidth value, not the value set under haskell_indent_case.

function x = case x of
          _ <- cursor is here if shiftwidth is set to 10