aboutsummaryrefslogtreecommitdiffstats
path: root/admin/notes/tree-sitter/starter-guide (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Minor copyedits in tree-sitter starting guideStefan Kangas2024-07-211-31/+25
| | | | | * admin/notes/tree-sitter/starter-guide: Minor copyedits. Reflow some paragraphs.
* Update tag for prebuilt tree-sitter grammarsStefan Kangas2024-07-211-1/+1
| | | | | * admin/notes/tree-sitter/starter-guide: Update tag for prebuilt tree-sitter grammars to point to 2.4.
* ; Fix typosStefan Kangas2024-07-181-38/+38
|
* ; * admin/notes/tree-sitter/starter-guide: Update starter-guide.Yuan Fu2023-03-181-77/+80
|
* ; * admin/notes/tree-sitter/starter-guide: Typos.Basil L. Contovounesios2023-02-101-2/+2
| | | | Reported by Romanos Skiadas <rom.skiad@gmail.com>.
* Tree-sitter doc fixes (bug#60524)Juri Linkov2023-01-041-1/+1
| | | | | | | | | | | | | | | | * doc/lispref/modes.texi (Parser-based Font Lock): Replace :lang with :language. * doc/lispref/parsing.texi (Language Grammar): Replace treesit-load-suffixes with dynamic-library-suffixes. (Retrieving Nodes): Fix function names. (Tree-sitter Major Modes): Fix treesit-ready-p args. Fix pxref to Parser-based Indentation. (Tree-sitter C API): Fix function names. * lisp/treesit.el (treesit--simple-indent-eval): Remove cond BODY duplicated from CONDITION. (treesit)<define-short-documentation-group>: Fix function names.
* ; * admin/notes/tree-sitter/starter-guide (Indent): Minor fix.Yuan Fu2022-12-091-1/+1
|
* ; Fix typos in tree-sitter filesJuanma Barranquero2022-11-221-9/+9
| | | | | | | | | | | | * admin/notes/tree-sitter/starter-guide (Font-lock) (Debugging queries, Indent, Navigation, Which-func) (More features?): * lisp/treesit.el (treesit--merge-ranges) (treesit-font-lock-feature-list, treesit-font-lock-rules) (treesit-font-lock-fontify-region, treesit--font-lock-notifier) (treesit-simple-indent-presets, treesit--font-lock-fast-mode) (treesit--indent-region-batch-size) (treesit--indent-rules-optimize, treesit-ready-p): Fix typos.
* ; Fix typosStefan Kangas2022-11-221-2/+2
|
* ; Update tree-sitter starter guideYuan Fu2022-11-211-34/+25
| | | | | | | | | | | * admin/notes/tree-sitter/starter-guide: Reflect recent changes. * admin/notes/tree-sitter/html-manual/Using-Parser.html: * admin/notes/tree-sitter/html-manual/Tree_002dsitter-C-API.html: * admin/notes/tree-sitter/html-manual/Parsing-Program-Source.html: * admin/notes/tree-sitter/html-manual/Parser_002dbased-Indentation.html: * admin/notes/tree-sitter/html-manual/Parser_002dbased-Font-Lock.html: * admin/notes/tree-sitter/html-manual/Multiple-Languages.html: * admin/notes/tree-sitter/html-manual/Language-Definitions.html: Update.
* ; Update guides in /admin/notes/tree-sitterYuan Fu2022-11-031-118/+119
| | | | | | | | | | | | | | * admin/notes/tree-sitter/html-manual/Language-Definitions.html * admin/notes/tree-sitter/html-manual/Multiple-Languages.html * admin/notes/tree-sitter/html-manual/Parser_002dbased-Font-Lock.html * admin/notes/tree-sitter/html-manual/Parser_002dbased-Indentation.html * admin/notes/tree-sitter/html-manual/Parsing-Program-Source.html * admin/notes/tree-sitter/html-manual/Pattern-Matching.html * admin/notes/tree-sitter/html-manual/Retrieving-Node.html * admin/notes/tree-sitter/html-manual/Tree_002dsitter-C-API.html * admin/notes/tree-sitter/html-manual/Using-Parser.html * admin/notes/tree-sitter/starter-guide: Update to reflect changes made recently.
* * admin/notes/tree-sitter/starter-guide (Navigation): Improve demo.Yuan Fu2022-10-101-12/+26
|
* Add note on tree-sitter's naming conventionYuan Fu2022-10-091-0/+7
| | | | | * admin/notes/tree-sitter/starter-guide: Add note. * doc/lispref/parsing.texi: Add note.
* Add a :toggle option for tree-sitter font-lockYuan Fu2022-10-071-10/+10
| | | | | | | | | | | | | | * admin/notes/tree-sitter/html-manual/Parser_002dbased-Font-Lock.html: Update html manual. * admin/notes/tree-sitter/html-manual/build-manual.sh: Fix manual path. * admin/notes/tree-sitter/starter-guide: Mention :toggle. * doc/lispref/modes.texi: Mention :toggle. * lisp/treesit.el (treesit-font-lock-settings): Update docstring. (treesit-font-lock-rules): Handle :toggle. Also change some wrong-type-argument signal to treesit-font-lock-error which is easier to understand. (treesit-font-lock-fontify-region): Handle :toggle.
* Add tree-sitter admin notesYuan Fu2022-10-051-0/+442
starter-guide: Guide on writing major mode features. build-module: Script for building official language definitions. html-manual: HTML version of the manual for easy access. * admin/notes/tree-sitter/build-module/README: New file. * admin/notes/tree-sitter/build-module/batch.sh: New file. * admin/notes/tree-sitter/build-module/build.sh: New file. * admin/notes/tree-sitter/starter-guide: New file. * admin/notes/tree-sitter/html-manual/Accessing-Node.html: New file. * admin/notes/tree-sitter/html-manual/Language-Definitions.html: New file. * admin/notes/tree-sitter/html-manual/Multiple-Languages.html: New file. * admin/notes/tree-sitter/html-manual/Parser_002dbased-Font-Lock.html: New file. * admin/notes/tree-sitter/html-manual/Parser_002dbased-Indentation.html: New file. * admin/notes/tree-sitter/html-manual/Parsing-Program-Source.html: New file. * admin/notes/tree-sitter/html-manual/Pattern-Matching.html: New file. * admin/notes/tree-sitter/html-manual/Retrieving-Node.html: New file. * admin/notes/tree-sitter/html-manual/Tree_002dsitter-C-API.html: New file. * admin/notes/tree-sitter/html-manual/Using-Parser.html: New file. * admin/notes/tree-sitter/html-manual/build-manual.sh: New file. * admin/notes/tree-sitter/html-manual/manual.css: New file.