Skip to content
Browse files

display variables in font-lock-variable-name-face under cperl-highlig…

…ht-variables-indiscriminately
  • Loading branch information...
1 parent 179bd43 commit 003a6eeff4252d98663ac0ac08a0c7b25bcc664f @choroba choroba committed Oct 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 cperl-mode.el
View
2 cperl-mode.el
@@ -5944,7 +5944,7 @@ indentation and initial hashes. Behaves usually outside of comment."
(if cperl-highlight-variables-indiscriminately
(setq t-font-lock-keywords-1
(append t-font-lock-keywords-1
- (list '("\\([$*]{?\\sw+\\)" 1
+ (list '("\\([$*]{?\\(?:\\sw+\\|::\\)+\\)" 1
font-lock-variable-name-face)))))
(setq cperl-font-lock-keywords-1
(if cperl-syntaxify-by-font-lock

0 comments on commit 003a6ee

Please sign in to comment.
Something went wrong with that request. Please try again.