Skip to content

Commit fc0f613

Browse files
author
Marcin Szamotulski
committed
ident imports
1 parent cf4bfcb commit fc0f613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indent/purescript.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function! GetPurescriptIndent()
8585
return s + g:purescript_indent_in
8686
endif
8787

88-
let s = match(prevline, '^\s*--')
88+
let s = match(prevline, '^\s*\zs\(--\|import\>\)')
8989
if s >= 0
9090
return s
9191
endif

0 commit comments

Comments
 (0)