mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
refactor: use newly introduced consolidated syntax
This commit is contained in:
parent
772aa4c169
commit
0f836e0602
5 changed files with 197 additions and 135 deletions
|
|
@ -29,6 +29,7 @@ Here are some global advices :
|
|||
- If not, you should consider installing the [tree-sitter cli](https://github.com/tree-sitter/tree-sitter/tree/master/cli),
|
||||
you should then be able to open a local playground using `tree-sitter build-wasm && tree-sitter web-ui` within the
|
||||
parsers repo.
|
||||
- An Example of somewhat complex highlight queries can be found in queries/ruby/highlights.scm (Maintained by @TravonteD)
|
||||
|
||||
### Highlights
|
||||
|
||||
|
|
@ -36,6 +37,7 @@ As languages differ quite a lot, here is a set of captures available to you when
|
|||
One important thing to note is that many of these capture groups are not supported by `neovim` for now, and will not have any
|
||||
effect on highlighting. We will work on improving highlighting in the near future though.
|
||||
|
||||
|
||||
#### Misc
|
||||
`@comment`
|
||||
`@error` for error `(ERROR)` nodes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue