summaryrefslogtreecommitdiffstats
path: root/indent/purescript.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/purescript.vim')
-rw-r--r--indent/purescript.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/indent/purescript.vim b/indent/purescript.vim
index c22da095..515f88e2 100644
--- a/indent/purescript.vim
+++ b/indent/purescript.vim
@@ -103,7 +103,7 @@ function! GetPurescriptIndent()
return s
endif
- if prevline =~ '^\S.*::' && line !~ '^\s*\(\.\|->\|→\|=>\|⇒\)' && !~ '^instance'
+ if prevline =~ '^\S.*::' && line !~ '^\s*\(\.\|->\|→\|=>\|⇒\)' && prevline !~ '^instance'
" f :: String
" -> String
return 0