Permalink
Browse files

Properly indent arrays of hashes

Closes #2
  • Loading branch information...
1 parent 046cfaa commit 82571984a9fe225e302c0f36d90979f86c7c8a6d @rodjek committed Jun 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 indent/puppet.vim
View
@@ -68,7 +68,7 @@ function! GetPuppetIndent()
endif
" Match } }, }; ] ]: ], ]; )
- if line =~ '^\s*\(}\(,\|;\)\?$\|]:\|],\|];\?$\|)\)'
+ if line =~ '^\s*\(}\(,\|;\)\?$\|]:\|],\|}]\|];\?$\|)\)'
let ind = indent(s:OpenBrace(v:lnum))
endif

0 comments on commit 8257198

Please sign in to comment.