diff options
| author | Chris Kipp <ckipp@pm.me> | 2023-01-15 09:11:54 +0100 |
|---|---|---|
| committer | ObserverOfTime <chronobserver@disroot.org> | 2023-01-15 11:58:02 +0200 |
| commit | c4c543ed1d3be8a239bbf6deb1b21602c836b630 (patch) | |
| tree | 608ebab81a317549e48dcc097a723d71f461eb8d | |
| parent | highlights(haskell): don't match True|False in other identifiers (diff) | |
| download | nvim-treesitter-c4c543ed1d3be8a239bbf6deb1b21602c836b630.tar nvim-treesitter-c4c543ed1d3be8a239bbf6deb1b21602c836b630.tar.gz nvim-treesitter-c4c543ed1d3be8a239bbf6deb1b21602c836b630.tar.bz2 nvim-treesitter-c4c543ed1d3be8a239bbf6deb1b21602c836b630.tar.lz nvim-treesitter-c4c543ed1d3be8a239bbf6deb1b21602c836b630.tar.xz nvim-treesitter-c4c543ed1d3be8a239bbf6deb1b21602c836b630.tar.zst nvim-treesitter-c4c543ed1d3be8a239bbf6deb1b21602c836b630.zip | |
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
| -rw-r--r-- | CONTRIBUTING.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 34131d446..d2367dd03 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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` |
