diff options
| author | Trard <trardone@gmail.com> | 2022-10-15 15:47:15 +0300 |
|---|---|---|
| committer | Christian Clason <christian.clason@uni-due.de> | 2022-11-06 18:10:42 +0100 |
| commit | 00b42ac6d4c852d34619eaf2ea822266588d75e3 (patch) | |
| tree | eaac4d052b4b9f381905ceb2ff4db7a85aafda89 /CONTRIBUTING.md | |
| parent | highlights(rust): pub(self/super/crate), use super::thing, etc (diff) | |
| download | nvim-treesitter-00b42ac6d4c852d34619eaf2ea822266588d75e3.tar nvim-treesitter-00b42ac6d4c852d34619eaf2ea822266588d75e3.tar.gz nvim-treesitter-00b42ac6d4c852d34619eaf2ea822266588d75e3.tar.bz2 nvim-treesitter-00b42ac6d4c852d34619eaf2ea822266588d75e3.tar.lz nvim-treesitter-00b42ac6d4c852d34619eaf2ea822266588d75e3.tar.xz nvim-treesitter-00b42ac6d4c852d34619eaf2ea822266588d75e3.tar.zst nvim-treesitter-00b42ac6d4c852d34619eaf2ea822266588d75e3.zip | |
rust: use @type.qualifier and @storageclass
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ea3cbc408..5a6fd71ec 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -156,15 +156,16 @@ effect on highlighting. We will work on improving highlighting in the near futur #### Types ```scheme -@type ; type or class definitions and annotations -@type.builtin ; built-in types -@type.definition ; type definitions (e.g. `typedef` in C) -@type.qualifier ; type qualifiers (e.g. `const`) +@type ; type or class definitions and annotations +@type.builtin ; built-in types +@type.definition ; type definitions (e.g. `typedef` in C) +@type.qualifier ; type qualifiers (e.g. `const`) -@storageclass ; visibility/life-time/etc. modifiers (e.g. `static`) -@attribute ; attribute annotations (e.g. Python decorators) -@field ; object and struct fields -@property ; similar to `@field` +@storageclass ; visibility/life-time modifiers +@storageclass.lifetime ; life-time modifiers (e.g. `static`) +@attribute ; attribute annotations (e.g. Python decorators) +@field ; object and struct fields +@property ; similar to `@field` ``` #### Identifiers |
