Skip to content

Commit 4678501

Browse files
committed
fine grained indentation triggers
1 parent 92680c9 commit 4678501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indent/haskell.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ if !exists('g:haskell_indent_guard')
7171
endif
7272

7373
setlocal indentexpr=GetHaskellIndent()
74-
setlocal indentkeys=0},0),0],!^F,o,O,0=where,0=let,0=deriving,<space>
74+
setlocal indentkeys=!^F,o,O,0{,0},0(,0),0[,0],0,,0=where,0=let,0=deriving,0=in\ ,0=::\ ,0=\-\>\ ,0=\=\>\ ,0=\|\ ,=\=\
7575

7676
function! s:isInBlock(hlstack)
7777
return index(a:hlstack, 'haskellDelimiter') > -1 || index(a:hlstack, 'haskellParens') > -1 || index(a:hlstack, 'haskellBrackets') > -1 || index(a:hlstack, 'haskellBlock') > -1 || index(a:hlstack, 'haskellBlockComment') > -1 || index(a:hlstack, 'haskellPragma') > -1

0 commit comments

Comments
 (0)