diff options
Diffstat (limited to '')
| -rw-r--r-- | indent/puppet.vim | 6 | 
1 files changed, 1 insertions, 5 deletions
| diff --git a/indent/puppet.vim b/indent/puppet.vim index e9b08447..d947b7f6 100644 --- a/indent/puppet.vim +++ b/indent/puppet.vim @@ -53,11 +53,7 @@ function! GetPuppetIndent()      let pline = getline(pnum)      let ind = indent(pnum) -    if pline =~ '^\s*#' -        return ind -    endif - -    if pline =~ '\({\|\[\|(\|:\)$' +    if pline =~ '\({\|\[\|(\|:\)\s*\(#.*\)\?$'          let ind += &sw      elseif pline =~ ';$' && pline !~ '[^:]\+:.*[=+]>.*'          let ind -= &sw | 
