docs: clarify @storageclass in CONTRIBUTING docs

This is just a tiny change that was in reference to
https://github.com/nvim-treesitter/nvim-treesitter/pull/4153#discussion_r1070276800.
The basis is that `@storageclass` should only be used unless it's
actually affecting storage in memory. There are further conversations
about this in the following places:

- https://github.com/nvim-treesitter/nvim-treesitter/pull/3648#issuecomment-1279923861
- https://github.com/nvim-treesitter/nvim-treesitter/pull/3648#issuecomment-1291624844
This commit is contained in:
Chris Kipp 2023-01-15 09:11:54 +01:00 committed by ObserverOfTime
parent 372177fb99
commit c4c543ed1d

View file

@ -161,7 +161,7 @@ effect on highlighting. We will work on improving highlighting in the near futur
@type.definition ; type definitions (e.g. `typedef` in C)
@type.qualifier ; type qualifiers (e.g. `const`)
@storageclass ; visibility/life-time modifiers
@storageclass ; life-time modifiers that affect storage in memory
@attribute ; attribute annotations (e.g. Python decorators)
@field ; object and struct fields
@property ; similar to `@field`