diff --git a/indent/purescript.vim b/indent/purescript.vim index 71e06da..67642a6 100644 --- a/indent/purescript.vim +++ b/indent/purescript.vim @@ -101,7 +101,7 @@ function! GetPurescriptIndent() return s endif - if prevline =~ '^\S.*::' && line !~ '^\s*\(\.\|->\|→\|=>\|⇒\)' && !~ '^instance' + if prevline =~ '^\S.*::' && line !~ '^\s*\(\.\|->\|→\|=>\|⇒\)' && prevline !~ '^instance' " f :: String " -> String return 0