docs: fix contributing guidelines

This commit is contained in:
ObserverOfTime 2022-11-20 13:56:37 +02:00
parent 1656f67f26
commit 7d7feb859a

View file

@ -162,7 +162,6 @@ effect on highlighting. We will work on improving highlighting in the near futur
@type.qualifier ; type qualifiers (e.g. `const`) @type.qualifier ; type qualifiers (e.g. `const`)
@storageclass ; visibility/life-time modifiers @storageclass ; visibility/life-time modifiers
@storageclass.lifetime ; life-time modifiers (e.g. `static`)
@attribute ; attribute annotations (e.g. Python decorators) @attribute ; attribute annotations (e.g. Python decorators)
@field ; object and struct fields @field ; object and struct fields
@property ; similar to `@field` @property ; similar to `@field`
@ -232,16 +231,7 @@ Used for XML-like tags.
```scheme ```scheme
@spell ; for defining regions to be spellchecked @spell ; for defining regions to be spellchecked
@nospell ; for defining regions that should _not_ be spellchecked @nospell ; for defining regions that should NOT be spellchecked
```
#### Non-standard
These captures are used by some languages but don't have any default highlights.
They fall back to the parent capture if they are not manually defined.
```scheme
@variable.global
``` ```
### Locals ### Locals
@ -265,7 +255,6 @@ They fall back to the parent capture if they are not manually defined.
@reference ; identifier reference @reference ; identifier reference
``` ```
#### Definition Scope #### Definition Scope
You can set the scope of a definition by setting the `scope` property on the definition. You can set the scope of a definition by setting the `scope` property on the definition.
@ -300,7 +289,7 @@ You can define folds for a given language by adding a `folds.scm` query :
@fold ; fold this node @fold ; fold this node
``` ```
If the `fold.scm` query is not present, this will fallback to the `@scope` captures in the `locals` If the `folds.scm` query is not present, this will fall back to the `@scope` captures in the `locals`
query. query.
### Injections ### Injections