Skip to content

Commit

Permalink
Fix highlighting of infix:<<lt>> and friends
Browse files Browse the repository at this point in the history
  • Loading branch information
hinrik committed Oct 7, 2015
1 parent f3690a0 commit c91c403
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions perl6-font-lock.el
Original file line number Diff line number Diff line change
Expand Up @@ -430,15 +430,15 @@ Takes arguments START and END which delimit the region to propertize."
((rx "#")
(0 (ignore (if (eq (perl6-syntax-context) nil)
(perl6-syntax-propertize-comment end)))))
;; angle-bracketed quoting construct
((rx (1+ (char "")))
(0 (ignore (perl6-syntax-propertize-angles (match-string 0)))))
;; postfix hyper operators
((perl6-rx (or identifier "]" ")") (group (or "»" ">>")))
(0 nil))
;; other metaoperators like (-), R=>, [*], X~, »+«
((perl6-rx (or set-operator rsxz-operator reduce-operator hyper-operator))
(0 (ignore (perl6-add-font-lock-hint 'perl6-metaoperator 0))))
;; angle-bracketed quoting construct
((rx (1+ (char "")))
(0 (ignore (perl6-syntax-propertize-angles (match-string 0)))))
;; backslashes outside strings/comments are punctuation, not escapes
((rx "\\")
(0 (ignore (perl6-syntax-propertize-backslash))))
Expand Down

0 comments on commit c91c403

Please sign in to comment.