Permalink
Browse files

Merge pull request #20 from dev97/master

fix continued expression indentation when cperl-indent-parens-as-block in effect
  • Loading branch information...
2 parents 1b1750e + f91da31 commit b0ff88333c97203e2caa21193c9de3df005ec962 @renormalist renormalist committed Mar 4, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 cperl-mode.el
View
@@ -2929,6 +2929,8 @@ Will not look before LIM."
(cperl-backward-to-noncomment containing-sexp))
;; Now we get non-label preceeding the indent point
(if (not (or (eq (1- (point)) containing-sexp)
+ (and cperl-indent-parens-as-block
+ (not is-block))
(memq (preceding-char)
(append (if is-block " ;{" " ,;{") '(nil)))
(and (eq (preceding-char) ?\})

0 comments on commit b0ff883

Please sign in to comment.