summaryrefslogtreecommitdiff
path: root/admin/notes/tree-sitter/starter-guide
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-11-21 15:39:43 +0100
committerStefan Kangas <stefankangas@gmail.com>2022-11-22 02:24:20 +0100
commit40539c7587dc474b424cff732973fe8958eadf14 (patch)
treec98fb6254b98c1a2c8738edaf8141569ece244ad /admin/notes/tree-sitter/starter-guide
parentaeadba1418d8fc18f17b4ae415cde35e9e272e7a (diff)
downloademacs-40539c7587dc474b424cff732973fe8958eadf14.tar.gz
emacs-40539c7587dc474b424cff732973fe8958eadf14.tar.bz2
emacs-40539c7587dc474b424cff732973fe8958eadf14.zip
; Fix typos
Diffstat (limited to 'admin/notes/tree-sitter/starter-guide')
-rw-r--r--admin/notes/tree-sitter/starter-guide4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/notes/tree-sitter/starter-guide b/admin/notes/tree-sitter/starter-guide
index 700b020850d..faf40bc64fe 100644
--- a/admin/notes/tree-sitter/starter-guide
+++ b/admin/notes/tree-sitter/starter-guide
@@ -1,4 +1,4 @@
-STARTER GUIDE ON WRITTING MAJOR MODE WITH TREE-SITTER -*- org -*-
+STARTER GUIDE ON WRITING MAJOR MODE WITH TREE-SITTER -*- org -*-
This document guides you on adding tree-sitter support to a major
mode.
@@ -274,7 +274,7 @@ the anchor point. Below are some convenient builtin matchers and anchors.
For MATHCER we have
(parent-is TYPE) => matches if PARENT’s type matches TYPE as regexp
- (node-is TYPE) => mathces NODE’s type
+ (node-is TYPE) => matches NODE’s type
(query QUERY) => matches if querying PARENT with QUERY
captures NODE.