Skip to content

Commit

Permalink
Separate syntax flags
Browse files Browse the repository at this point in the history
"C-u C-x =" now correctly reports these as prefix chars.
  • Loading branch information
hinrik committed Oct 11, 2015
1 parent 60966ea commit 4aa7fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions perl6-font-lock.el
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,8 @@ Takes arguments START and END which delimit the region to propertize."
(perl6-syntax-propertize-delimiters "|")))))
;; sigils and twigils are prefix characters
((perl6-rx variable)
(1 ".p")
(2 ".p")
(1 ". p")
(2 ". p")
;; go back to the end of the twigils/sigils, so other syntax
;; rules above can be applied to later parts of the variable name
(4 (ignore (goto-char (or (match-end 2) (match-end 1)))))))
Expand Down

0 comments on commit 4aa7fde

Please sign in to comment.