mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
feat(rust,lalrpop): @attribute for lifetimes
`@keyword` is only for language-defined keywords.
This commit is contained in:
parent
5d75359a9a
commit
8f5513a1f2
3 changed files with 17 additions and 6 deletions
|
|
@ -140,7 +140,7 @@ As languages differ quite a lot, here is a set of captures available to you when
|
|||
@type.builtin ; built-in types
|
||||
@type.definition ; identifiers in type definitions (e.g. `typedef <type> <identifier>` in C)
|
||||
|
||||
@attribute ; attribute annotations (e.g. Python decorators)
|
||||
@attribute ; attribute annotations (e.g. Python decorators, Rust lifetimes)
|
||||
@attribute.builtin ; builtin annotations (e.g. `@property` in Python)
|
||||
@property ; the key in key/value pairs
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue