diff options
| author | Stefan Kangas | 2022-11-21 15:39:43 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2022-11-22 02:24:20 +0100 |
| commit | 40539c7587dc474b424cff732973fe8958eadf14 (patch) | |
| tree | c98fb6254b98c1a2c8738edaf8141569ece244ad /admin | |
| parent | aeadba1418d8fc18f17b4ae415cde35e9e272e7a (diff) | |
| download | emacs-40539c7587dc474b424cff732973fe8958eadf14.tar.gz emacs-40539c7587dc474b424cff732973fe8958eadf14.zip | |
; Fix typos
Diffstat (limited to 'admin')
4 files changed, 5 insertions, 5 deletions
diff --git a/admin/notes/tree-sitter/build-module/README b/admin/notes/tree-sitter/build-module/README index d205661e6c3..2fcb9778dae 100644 --- a/admin/notes/tree-sitter/build-module/README +++ b/admin/notes/tree-sitter/build-module/README | |||
| @@ -14,4 +14,4 @@ To build all modules at once, run | |||
| 14 | 14 | ||
| 15 | This gives you C, JSON, Go, HTML, Javascript, CSS, Python, Typescript | 15 | This gives you C, JSON, Go, HTML, Javascript, CSS, Python, Typescript |
| 16 | (tsx), C# (csharp), C++ (cpp), Rust. More can be added to batch.sh | 16 | (tsx), C# (csharp), C++ (cpp), Rust. More can be added to batch.sh |
| 17 | unless it's directory strucure is not standard. \ No newline at end of file | 17 | unless it's directory structure is not standard. \ No newline at end of file |
diff --git a/admin/notes/tree-sitter/html-manual/Multiple-Languages.html b/admin/notes/tree-sitter/html-manual/Multiple-Languages.html index 0ae0b1897e1..46985649a82 100644 --- a/admin/notes/tree-sitter/html-manual/Multiple-Languages.html +++ b/admin/notes/tree-sitter/html-manual/Multiple-Languages.html | |||
| @@ -277,7 +277,7 @@ a <var>query</var> preceded by zero or more <var>keyword</var>/<var>value</var> | |||
| 277 | pairs. Each <var>query</var> is a tree-sitter query in either the | 277 | pairs. Each <var>query</var> is a tree-sitter query in either the |
| 278 | string, s-expression or compiled form, or a function. | 278 | string, s-expression or compiled form, or a function. |
| 279 | </p> | 279 | </p> |
| 280 | <p>If <var>query</var> is a tree-sitter query, it should be preceeded by two | 280 | <p>If <var>query</var> is a tree-sitter query, it should be preceded by two |
| 281 | <var>:keyword</var>/<var>value</var> pairs, where the <code>:embed</code> keyword | 281 | <var>:keyword</var>/<var>value</var> pairs, where the <code>:embed</code> keyword |
| 282 | specifies the embedded language, and the <code>:host</code> keyword | 282 | specifies the embedded language, and the <code>:host</code> keyword |
| 283 | specified the host language. | 283 | specified the host language. |
diff --git a/admin/notes/tree-sitter/html-manual/Parser_002dbased-Indentation.html b/admin/notes/tree-sitter/html-manual/Parser_002dbased-Indentation.html index 3027bbaae95..95005de6d11 100644 --- a/admin/notes/tree-sitter/html-manual/Parser_002dbased-Indentation.html +++ b/admin/notes/tree-sitter/html-manual/Parser_002dbased-Indentation.html | |||
| @@ -223,7 +223,7 @@ sibling of <var>node</var>. | |||
| 223 | <dt id='index-prev_002dline'><span><code>prev-line</code><a href='#index-prev_002dline' class='copiable-anchor'> ¶</a></span></dt> | 223 | <dt id='index-prev_002dline'><span><code>prev-line</code><a href='#index-prev_002dline' class='copiable-anchor'> ¶</a></span></dt> |
| 224 | <dd><p>This anchor is a function that is called with 3 arguments: <var>node</var>, | 224 | <dd><p>This anchor is a function that is called with 3 arguments: <var>node</var>, |
| 225 | <var>parent</var>, and <var>bol</var>, and returns the first non-whitespace | 225 | <var>parent</var>, and <var>bol</var>, and returns the first non-whitespace |
| 226 | charater on the previous line. | 226 | character on the previous line. |
| 227 | </p> | 227 | </p> |
| 228 | </dd> | 228 | </dd> |
| 229 | <dt id='index-point_002dmin'><span><code>point-min</code><a href='#index-point_002dmin' class='copiable-anchor'> ¶</a></span></dt> | 229 | <dt id='index-point_002dmin'><span><code>point-min</code><a href='#index-point_002dmin' class='copiable-anchor'> ¶</a></span></dt> |
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 @@ | |||
| 1 | STARTER GUIDE ON WRITTING MAJOR MODE WITH TREE-SITTER -*- org -*- | 1 | STARTER GUIDE ON WRITING MAJOR MODE WITH TREE-SITTER -*- org -*- |
| 2 | 2 | ||
| 3 | This document guides you on adding tree-sitter support to a major | 3 | This document guides you on adding tree-sitter support to a major |
| 4 | mode. | 4 | mode. |
| @@ -274,7 +274,7 @@ the anchor point. Below are some convenient builtin matchers and anchors. | |||
| 274 | For MATHCER we have | 274 | For MATHCER we have |
| 275 | 275 | ||
| 276 | (parent-is TYPE) => matches if PARENT’s type matches TYPE as regexp | 276 | (parent-is TYPE) => matches if PARENT’s type matches TYPE as regexp |
| 277 | (node-is TYPE) => mathces NODE’s type | 277 | (node-is TYPE) => matches NODE’s type |
| 278 | (query QUERY) => matches if querying PARENT with QUERY | 278 | (query QUERY) => matches if querying PARENT with QUERY |
| 279 | captures NODE. | 279 | captures NODE. |
| 280 | 280 | ||