File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 22" Filename: indent/haskell.vim
33" Author: itchyny
44" License: MIT License
5- " Last Change: 2024/11/01 20:51:18 .
5+ " Last Change: 2025/03/03 09:45:31 .
66" =============================================================================
77
88if exists (' b:did_indent' )
@@ -128,7 +128,7 @@ function! GetHaskellIndent() abort
128128 endif
129129
130130 if nonblankline = ~# ' \v<do>\s*[[:alnum:](]'
131- return match (nonblankline, ' \v<do>\s*\zs\S ' )
131+ return match (nonblankline, ' \v.* <do>\s*\zs' )
132132 endif
133133
134134 if line = ~# ' \v<if>' && line !~# ' \v^\s*#'
Original file line number Diff line number Diff line change 1+ do foo <- do undo <- baz
2+ qux
3+ quux
Original file line number Diff line number Diff line change 1+ do foo <- do undo <- baz
2+ qux
3+ quux
You can’t perform that action at this time.
0 commit comments