Permalink
Browse files

Merge pull request #18 from choroba/master

display variables in font-lock-variable-name-face under cperl-highlight-variables-indiscriminately
  • Loading branch information...
2 parents 179bd43 + 003a6ee commit 1b1750e97600eb9538924975cd8314fe91cd7067 @renormalist renormalist committed Oct 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 cperl-mode.el
View
@@ -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 1b1750e

Please sign in to comment.