From 12e0246e4fc2b75742d98a546216234444fdad28 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Wed, 12 Mar 2025 09:44:33 +0100 Subject: fix(formatter): increase match limit Problem: Some very long patterns were not formatted correctly. Solution: Increase the match limit when iterating to 1024. --- runtime/queries/commonlisp/highlights.scm | 3 +-- runtime/queries/racket/highlights.scm | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'runtime') diff --git a/runtime/queries/commonlisp/highlights.scm b/runtime/queries/commonlisp/highlights.scm index 7236c84de..dbd41657f 100644 --- a/runtime/queries/commonlisp/highlights.scm +++ b/runtime/queries/commonlisp/highlights.scm @@ -295,8 +295,7 @@ "clear-output" "assoc-if" "string/=" "princ" "directory-namestring" "stream-error-stream" "array-element-type" "setq" "copy-seq" "time" "restart-case" "prog*" "shared-initialize" "array-total-size" "simple-bit-vector-p" "define-method-combination" "write-byte" "constantly" - "caddar" "print-object" "vector" "throw" "reverse" ">=" "upper-case-p" "nbutlast") - ) + "caddar" "print-object" "vector" "throw" "reverse" ">=" "upper-case-p" "nbutlast")) (list_lit . diff --git a/runtime/queries/racket/highlights.scm b/runtime/queries/racket/highlights.scm index 9e3066743..ac6b4de4b 100644 --- a/runtime/queries/racket/highlights.scm +++ b/runtime/queries/racket/highlights.scm @@ -140,8 +140,7 @@ "unit/c" "unit/new-import-export" "unit/s" "unless" "unquote" "unquote-splicing" "unsyntax" "unsyntax-splicing" "values/drop" "when" "with-continuation-mark" "with-contract" "with-contract-continuation-mark" "with-handlers" "with-handlers*" "with-method" "with-syntax" - "~?" "~@" "λ") - ) + "~?" "~@" "λ")) ; builtin procedures ((symbol) @function.builtin -- cgit v1.2.3-70-g09d2