aboutsummaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorObserverOfTime <chronobserver@disroot.org>2022-11-20 13:56:37 +0200
committerObserverOfTime <chronobserver@disroot.org>2022-11-26 13:17:51 +0200
commit7d7feb859a95079c569015c3c4c3e74b070a2277 (patch)
treed6e239f02304f7aa5a65389dc61a0518e2a436e4 /CONTRIBUTING.md
parenthandle `opts` as number, #3323 (diff)
downloadnvim-treesitter-7d7feb859a95079c569015c3c4c3e74b070a2277.tar
nvim-treesitter-7d7feb859a95079c569015c3c4c3e74b070a2277.tar.gz
nvim-treesitter-7d7feb859a95079c569015c3c4c3e74b070a2277.tar.bz2
nvim-treesitter-7d7feb859a95079c569015c3c4c3e74b070a2277.tar.lz
nvim-treesitter-7d7feb859a95079c569015c3c4c3e74b070a2277.tar.xz
nvim-treesitter-7d7feb859a95079c569015c3c4c3e74b070a2277.tar.zst
nvim-treesitter-7d7feb859a95079c569015c3c4c3e74b070a2277.zip
docs: fix contributing guidelines
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md15
1 files changed, 2 insertions, 13 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index e5d39e426..a510f0e7f 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -162,7 +162,6 @@ effect on highlighting. We will work on improving highlighting in the near futur
@type.qualifier ; type qualifiers (e.g. `const`)
@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`
@@ -232,16 +231,7 @@ Used for XML-like tags.
```scheme
@spell ; for defining regions to 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
+@nospell ; for defining regions that should NOT be spellchecked
```
### Locals
@@ -265,7 +255,6 @@ They fall back to the parent capture if they are not manually defined.
@reference ; identifier reference
```
-
#### Definition Scope
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
```
-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.
### Injections