Skip to content

Commit

Permalink
Correctly highlight $foo.?method
Browse files Browse the repository at this point in the history
  • Loading branch information
hinrik committed Jun 14, 2016
1 parent 57a25cc commit 5f66f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perl6-font-lock.el
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ LIMIT can be used to bound the search."
(2 'perl6-type-constraint nil t)
(3 'perl6-type-property nil t))
;; method calls like $foo.bar or $hlagh.^methods
(,(perl6-rx (group (any ".^")) (group identifier symbol-end))
(,(perl6-rx (group (any ".^?")) (group identifier symbol-end))
(1 'perl6-operator)
(2 'perl6-identifier))
;; autoquoting fat arrow, foo => $bar
Expand Down

0 comments on commit 5f66f10

Please sign in to comment.