From eab54747de8952d3d861af704e2dbaccae747257 Mon Sep 17 00:00:00 2001 From: Elias Castegren Date: Wed, 11 Sep 2024 11:52:46 +0200 Subject: [PATCH] Moved reference sheet to docs folder --- {samples => docs}/reference.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename {samples => docs}/reference.md (91%) diff --git a/samples/reference.md b/docs/reference.md similarity index 91% rename from samples/reference.md rename to docs/reference.md index 93f3dd05..9a9e44ad 100644 --- a/samples/reference.md +++ b/docs/reference.md @@ -18,7 +18,7 @@ A rule consists of a pattern and an effect. For each cursor position and rule, t ### Patterns * `T(tok)` — a single term with token tok -* `T(tok1, .., tokn)` — a single term with token in tok1, .., tokn +* `T(tok1, .., tokn)` — a single term with one of the specified tokens * `Any` — any single term * `!a` — not a @@ -40,8 +40,8 @@ A rule consists of a pattern and an effect. For each cursor position and rule, t * `++a` — matches if `a` matches, but does not select anything * `--a` — matches if `a` does not match, but does not select anything -* `In(tok1, ..., tokn)` — matches if cursor is directly inside a term with one of the listed tokens -* `In(tok1, ..., tokn)++` — matches if cursor is nested inside a term with one of the listed tokens (directly or recursively) +* `In(tok1, .., tokn)` — matches if cursor is directly inside a term with one of the listed tokens +* `In(tok1, .., tokn)++` — matches if cursor is nested inside a term with one of the listed tokens (directly or recursively) * `Start` — matches if the cursor is before the first child of a term * `End` — matches if the cursor is after the last child of a term