Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'book/src/guides/indent.md')
-rw-r--r--book/src/guides/indent.md8
1 files changed, 2 insertions, 6 deletions
diff --git a/book/src/guides/indent.md b/book/src/guides/indent.md
index 1e520731..a65ac5ac 100644
--- a/book/src/guides/indent.md
+++ b/book/src/guides/indent.md
@@ -1,4 +1,4 @@
-## Adding indent queries
+# Adding indent queries
Helix uses tree-sitter to correctly indent new lines. This requires a tree-
sitter grammar and an `indent.scm` query file placed in `runtime/queries/
@@ -315,10 +315,6 @@ The first argument (a capture) must/must not be equal to the second argument
The first argument (a capture) must/must not match the regex given in the
second argument (a string).
-- `#any-of?`/`#not-any-of?`:
-The first argument (a capture) must/must not be one of the other arguments
-(strings).
-
Additionally, we support some custom predicates for indent queries:
- `#not-kind-eq?`:
@@ -370,4 +366,4 @@ Everything up to and including the closing brace gets an indent level of 1.
Then, on the closing brace, we encounter an outdent with a scope of "all", which
means the first line is included, and the indent level is cancelled out on this
line. (Note these scopes are the defaults for `@indent` and `@outdent`—they are
-written explicitly for demonstration.)
+written explicitly for demonstration.) \ No newline at end of file