Permalink
Browse files

make prototypes like ($) not mess up indentation [due to $) being int…

…erpreted as a varname]
  • Loading branch information...
1 parent 2e6fbac commit 1536bfbd40583a4278e67c926e240171d66b222a @jrockway committed Dec 2, 2009
Showing with 4 additions and 0 deletions.
  1. +4 −0 cperl-mode.el
View
@@ -3347,6 +3347,10 @@ types and coercions in advance, with MooseX::Types."
(when (looking-at "^[\\_$@*;&]+$")
(put-text-property (match-beginning 0) (match-end 0)
'font-lock-face 'font-lock-builtin-face)
+
+ (put-text-property (match-beginning 0) (match-end 0)
+ 'syntax-table cperl-string-syntax-table)
+
(goto-char (match-end 0)))
;; MX::Method::Signatures signature

0 comments on commit 1536bfb

Please sign in to comment.