Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix code folding. Keeping it simple.

  • Loading branch information...
commit 614bb00e86f989ae2a9183d44223fda082995711 1 parent c3875ca
@jimenezrick jimenezrick authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ftplugin/erlang.vim
View
2  ftplugin/erlang.vim
@@ -117,7 +117,7 @@ if !exists("*GetErlangFold")
return '<1'
endif
- if line =~ s:ErlangFunBegin && foldlevel(lnum) == 1
+ if line =~ s:ErlangFunBegin && foldlevel(lnum - 1) == 1
if exists("g:erlangFoldSplitFunction") && g:erlangFoldSplitFunction
return '>1'
else
Please sign in to comment.
Something went wrong with that request. Please try again.