From 63cd520725e6de18a190109ca150c0211370433a Mon Sep 17 00:00:00 2001 From: Silvio Mayolo Date: Mon, 14 Feb 2022 20:58:50 -0500 Subject: [PATCH] Temporary fix for #43 Angle brackets are no longer treated as string delimiters, which makes the $ syntax slightly uglier but allows us to use less than signs in code without the rest of the file blowing up. --- raku-font-lock.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raku-font-lock.el b/raku-font-lock.el index 0507a1f..0302ace 100644 --- a/raku-font-lock.el +++ b/raku-font-lock.el @@ -491,7 +491,7 @@ Takes arguments START and END which delimit the region to propertize." ((raku-rx (or set-operator rsxz-operator reduce-operator hyper-operator)) (0 (ignore (raku-add-font-lock-hint 'raku-metaoperator 0)))) ;; angle-bracketed quoting construct - ((rx (or (1+ "<") (1+ "«"))) + ((rx (1+ "«")) (0 (ignore (raku-syntax-propertize-angles (match-string 0))))) ;; backslashes outside strings/comments are punctuation, not escapes ((rx "\\")