Unnamed repository; edit this file 'description' to name the repository.
add rainbows.scm for tsq (#14216)
| -rw-r--r-- | book/src/generated/lang-support.md | 2 | ||||
| -rw-r--r-- | runtime/queries/tsq/rainbows.scm | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 8bfb7a27..5205c86c 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -254,7 +254,7 @@ | tlaplus | ✓ | | | | | | | todotxt | ✓ | | | | | | | toml | ✓ | ✓ | | | ✓ | `taplo`, `tombi` | -| tsq | ✓ | | | | | `ts_query_ls` | +| tsq | ✓ | | | | ✓ | `ts_query_ls` | | tsx | ✓ | ✓ | ✓ | ✓ | ✓ | `typescript-language-server` | | twig | ✓ | | | | | | | typescript | ✓ | ✓ | ✓ | ✓ | ✓ | `typescript-language-server` | diff --git a/runtime/queries/tsq/rainbows.scm b/runtime/queries/tsq/rainbows.scm new file mode 100644 index 00000000..9001f07f --- /dev/null +++ b/runtime/queries/tsq/rainbows.scm @@ -0,0 +1,11 @@ +[ + (list) + (predicate) + (grouping) + (named_node) +] @rainbow.scope + +[ + "(" ")" + "[" "]" +] @rainbow.bracket |