Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Indenting: Arrays split by line #11

Merged
merged 1 commit into from

2 participants

@xironix

Solves issue #10 by adding "], ];"

@rodjek rodjek merged commit 7826770 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 23, 2012
  1. @xironix
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.