diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2025-03-12 09:44:33 +0100 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2025-05-12 18:43:40 +0200 |
| commit | 12e0246e4fc2b75742d98a546216234444fdad28 (patch) | |
| tree | 8dcbba7f7093520def0a9c5f964257b34be046eb /runtime | |
| parent | feat(install): allow pass callback to `update()` (diff) | |
| download | nvim-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.scm | 3 | ||||
| -rw-r--r-- | runtime/queries/racket/highlights.scm | 3 |
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 |
