Skip to content

Commit 5918aa9

Browse files
the-mikedavisomentic
authored andcommitted
Add rainbow tree-sitter highlights
ref: helix-editor/helix#695 ref: helix-editor/helix#2857
1 parent 21add54 commit 5918aa9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1567
-372
lines changed

book/src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@
2525
- [Adding textobject queries](./guides/textobject.md)
2626
- [Adding indent queries](./guides/indent.md)
2727
- [Adding injection queries](./guides/injection.md)
28+
- [Adding rainbow bracket queries](./guides/rainbow_bracket_queries.md)

book/src/editor.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
| `rulers` | List of column positions at which to display the rulers. Can be overridden by language specific `rulers` in `languages.toml` file | `[]` |
5050
| `bufferline` | Renders a line at the top of the editor displaying open buffers. Can be `always`, `never` or `multiple` (only shown if more than one buffer is in use) | `never` |
5151
| `color-modes` | Whether to color the mode indicator with different colors depending on the mode itself | `false` |
52+
| `rainbow-brackets` | Whether to render rainbow colors for matching brackets. Requires tree-sitter `rainbows.scm` queries for the language. | `false` |
5253
| `text-width` | Maximum line length. Used for the `:reflow` command and soft-wrapping if `soft-wrap.wrap-at-text-width` is set | `80` |
5354
| `workspace-lsp-roots` | Directories relative to the workspace root that are treated as LSP roots. Should only be set in `.helix/config.toml` | `[]` |
5455
| `default-line-ending` | The line ending to use for new documents. Can be `native`, `lf`, `crlf`, `ff`, `cr` or `nel`. `native` uses the platform's native line ending (`crlf` on Windows, otherwise `lf`). | `native` |

0 commit comments

Comments
 (0)