Skip to content

Commit

Permalink
Indent map, grep, and sort blocks.
Browse files Browse the repository at this point in the history
Fixes #65.
  • Loading branch information
bk2204 committed Dec 15, 2013
1 parent a82cf0f commit 5dbe6ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions indent/perl.vim
Expand Up @@ -134,6 +134,7 @@ function! GetPerlIndent()
\ || synid == "perlMatchStartEnd"
\ || synid == "perlHereDoc"
\ || synid == "perlBraces"
\ || synid == "perlStatementIndirObj"
\ || synid =~ "^perlFiledescStatement"
\ || synid =~ '^perl\(Sub\|Block\|Package\)Fold'
let brace = strpart(line, bracepos, 1)
Expand All @@ -151,6 +152,7 @@ function! GetPerlIndent()
if synid == ""
\ || synid == "perlMatchStartEnd"
\ || synid == "perlBraces"
\ || synid == "perlStatementIndirObj"
\ || synid =~ '^perl\(Sub\|Block\|Package\)Fold'
let ind = ind - &sw
endif
Expand Down

0 comments on commit 5dbe6ed

Please sign in to comment.