aboutsummaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-03-12 09:44:33 +0100
committerChristian Clason <c.clason@uni-graz.at>2025-05-12 18:43:40 +0200
commit12e0246e4fc2b75742d98a546216234444fdad28 (patch)
tree8dcbba7f7093520def0a9c5f964257b34be046eb /runtime
parentfeat(install): allow pass callback to `update()` (diff)
downloadnvim-treesitter-12e0246e4fc2b75742d98a546216234444fdad28.tar
nvim-treesitter-12e0246e4fc2b75742d98a546216234444fdad28.tar.gz
nvim-treesitter-12e0246e4fc2b75742d98a546216234444fdad28.tar.bz2
nvim-treesitter-12e0246e4fc2b75742d98a546216234444fdad28.tar.lz
nvim-treesitter-12e0246e4fc2b75742d98a546216234444fdad28.tar.xz
nvim-treesitter-12e0246e4fc2b75742d98a546216234444fdad28.tar.zst
nvim-treesitter-12e0246e4fc2b75742d98a546216234444fdad28.zip
fix(formatter): increase match limit
Problem: Some very long patterns were not formatted correctly. Solution: Increase the match limit when iterating to 1024.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/commonlisp/highlights.scm3
-rw-r--r--runtime/queries/racket/highlights.scm3
2 files changed, 2 insertions, 4 deletions
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