Permalink
Browse files

Corrected indent issue with multi-line arrays.

  • Loading branch information...
1 parent e91d822 commit d3b1970a89f6dd957712e23093c1c586698084db @xironix xironix committed Aug 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 indent/puppet.vim
View
@@ -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 d3b1970

Please sign in to comment.