Permalink
Browse files

Merge pull request #11 from xironix/master

Indenting: Arrays split by line
  • Loading branch information...
2 parents e91d822 + d3b1970 commit 78267708f4fb033c06ede73f1f73dd857f67a579 @rodjek committed Aug 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 indent/puppet.vim
View
4 indent/puppet.vim
@@ -67,8 +67,8 @@ function! GetPuppetIndent()
let ind -= &sw
endif
- " Match } }, }; ] ]: )
- if line =~ '^\s*\(}\(,\|;\)\?$\|]:\?$\|)\)'
+ " Match } }, }; ] ]: ], ]; )
+ if line =~ '^\s*\(}\(,\|;\)\?$\|]:\|],\|];\?$\|)\)'
let ind = indent(s:OpenBrace(v:lnum))
endif

0 comments on commit 7826770

Please sign in to comment.