Update vim-puppet source to voxpupuli/vim-puppet, closes #115

This commit is contained in:
Adam Stankiewicz
2016-05-02 10:48:28 +02:00
parent 905031eb95
commit 5529a5e8e2
5 changed files with 13 additions and 15 deletions

View File

@@ -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