aboutsummaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 5db4f0e87..902e45321 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -206,3 +206,9 @@ Possible scope values are:
- `global`: The definition is valid in the root scope
- `local`: The definition is valid in the containing scope. This is the default behavior
+### Folds
+
+You can define folds for a given language by adding a `fold.scm` query.
+The `@fold` capture is used to fold a node.
+If the `fold.scm` query is not present, this will fallback to the `@scope` captures in the `locals`
+query.