From 9b3b092d15503ed70ea4bf60c4e1345b196c3677 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 1 Mar 2014 00:15:51 +0100 Subject: Update --- indent/scala.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indent/scala.vim') diff --git a/indent/scala.vim b/indent/scala.vim index da490ace..9cdb0e8d 100644 --- a/indent/scala.vim +++ b/indent/scala.vim @@ -515,7 +515,7 @@ function! GetScalaIndent() endif let prevCurlyCount = scala#CountCurlies(prevline) - if prevCurlyCount == 0 && prevline =~ '^.*=>\s*$' && prevline !~ '^\s*this\s*:.*=>\s*$' && curline !~ '^\s*\' + if prevCurlyCount == 0 && prevline =~ '^.*\%(=>\|⇒\)\s*$' && prevline !~ '^\s*this\s*:.*\%(=>\|⇒\)\s*$' && curline !~ '^\s*\' call scala#ConditionalConfirm("16") let ind = ind + &shiftwidth endif -- cgit v1.2.3