From: Basil L. Contovounesios Date: Fri, 10 Feb 2023 15:24:45 +0000 (+0000) Subject: ; * admin/notes/tree-sitter/starter-guide: Typos. X-Git-Tag: emacs-29.0.90~456 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=10af9fbcad1;p=emacs.git ; * admin/notes/tree-sitter/starter-guide: Typos. Reported by Romanos Skiadas . --- diff --git a/admin/notes/tree-sitter/starter-guide b/admin/notes/tree-sitter/starter-guide index 606f7891dfa..b8910aab5ca 100644 --- a/admin/notes/tree-sitter/starter-guide +++ b/admin/notes/tree-sitter/starter-guide @@ -45,7 +45,7 @@ You can use this script that I put together here: You can also find them under this directory in /build-modules. This script automatically pulls and builds language definitions for C, -C++, Rust, JSON, Go, HTML, Javascript, CSS, Python, Typescript, +C++, Rust, JSON, Go, HTML, JavaScript, CSS, Python, Typescript, and C#. Better yet, I pre-built these language definitions for GNU/Linux and macOS, they can be downloaded here: @@ -271,7 +271,7 @@ Matchers and anchors are functions that takes (NODE PARENT BOL &rest _). Matches return nil/non-nil for no match/match, and anchors return the anchor point. Below are some convenient builtin matchers and anchors. -For MATHCER we have +For MATCHER we have (parent-is TYPE) => matches if PARENT’s type matches TYPE as regexp (node-is TYPE) => matches NODE’s type