Unnamed repository; edit this file 'description' to name the repository.
Add rainbows for ron (#14258)
| -rw-r--r-- | book/src/generated/lang-support.md | 2 | ||||
| -rw-r--r-- | runtime/queries/ron/rainbows.scm | 8 | ||||
| -rw-r--r-- | runtime/queries/ron/tags.scm | 4 |
3 files changed, 13 insertions, 1 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 39531c11..7beb4713 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -213,7 +213,7 @@ | rmarkdown | ✓ | | ✓ | | | `R` | | robot | ✓ | | | | | `robotframework_ls` | | robots.txt | ✓ | ✓ | | ✓ | | | -| ron | ✓ | | ✓ | | | | +| ron | ✓ | | ✓ | ✓ | ✓ | | | rst | ✓ | | | | | | | ruby | ✓ | ✓ | ✓ | ✓ | ✓ | `ruby-lsp`, `solargraph` | | rust | ✓ | ✓ | ✓ | ✓ | ✓ | `rust-analyzer` | diff --git a/runtime/queries/ron/rainbows.scm b/runtime/queries/ron/rainbows.scm new file mode 100644 index 00000000..0641564d --- /dev/null +++ b/runtime/queries/ron/rainbows.scm @@ -0,0 +1,8 @@ +[ + (struct) + (map) + (tuple) + (array) +] @rainbow.scope + +["(" ")" "[" "]" "{" "}"] @rainbow.bracket diff --git a/runtime/queries/ron/tags.scm b/runtime/queries/ron/tags.scm new file mode 100644 index 00000000..71df971e --- /dev/null +++ b/runtime/queries/ron/tags.scm @@ -0,0 +1,4 @@ +(struct_entry + (identifier) @definition.struct) + +(map_entry (string) @definition.struct) |