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 2
2
" Filename: indent/haskell.vim
3
3
" Author: itchyny
4
4
" License: MIT License
5
- " Last Change: 2024/11/01 20:51:18 .
5
+ " Last Change: 2025/03/03 09:45:31 .
6
6
" =============================================================================
7
7
8
8
if exists (' b:did_indent' )
@@ -128,7 +128,7 @@ function! GetHaskellIndent() abort
128
128
endif
129
129
130
130
if nonblankline = ~# ' \v<do>\s*[[:alnum:](]'
131
- return match (nonblankline, ' \v<do>\s*\zs\S ' )
131
+ return match (nonblankline, ' \v.* <do>\s*\zs' )
132
132
endif
133
133
134
134
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