Skip to content

Commit

Permalink
Don't indent after -type.
Browse files Browse the repository at this point in the history
  • Loading branch information
jadahl committed Sep 27, 2010
1 parent 95e3da3 commit 9133f6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions indent/erlang.vim
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ function s:ErlangIndentAfterLine(l)
let lastReceive = 0 " the last token was a 'receive'; needed for 'after' let lastReceive = 0 " the last token was a 'receive'; needed for 'after'
let lastHashMark = 0 " the last token was a 'hashmark' let lastHashMark = 0 " the last token was a 'hashmark'


" ignore type annotation lines
if a:l =~# '^\s*-type'
return 0

while 0<= i && i < length while 0<= i && i < length


" m: the next value of the i " m: the next value of the i
Expand Down

0 comments on commit 9133f6b

Please sign in to comment.