aboutsummaryrefslogtreecommitdiffstats
path: root/admin/notes/tree-sitter/html-manual (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ; Remove 'build-module' and 'html-manual' directories from 'admin'Eli Zaretskii2023-03-1912-3293/+0
| | | | | These files were temporarily in the repository and are no longer needed, once they fulfilled their job.
* ; Fix incorrect function name in treesit manualSimon Pugnet2023-02-091-3/+3
| | | | | | | | | | | | An example in the documentation uses the function 'treesit-get-parser-create' which does not exist. Replace this with 'treesit-parser-create'. * admin/notes/tree-sitter/html-manual/Multiple-Languages.html: * doc/lispref/parsing.texi (Multiple Languages): Change example. Copyright-paperwork-exempt: yes
* Tree-sitter doc fixes (bug#60524)Juri Linkov2023-01-045-14/+14
| | | | | | | | | | | | | | | | * 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.
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-0111-21/+11
|
* ; Fix typosStefan Kangas2022-12-311-1/+1
|
* ; Fix typosStefan Kangas2022-11-222-2/+2
|
* ; Update tree-sitter starter guideYuan Fu2022-11-217-48/+124
| | | | | | | | | | | * 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 tree-sitter HTML manuals in admin/notesYuan Fu2022-11-095-94/+168
| | | | | | | | * 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/Retrieving-Node.html: Update.
* ; Update guides in /admin/notes/tree-sitterYuan Fu2022-11-039-654/+889
| | | | | | | | | | | | | | * 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.
* Make tree-sitter font-lock support decoration levelsYuan Fu2022-10-092-0/+13
| | | | | | | | | | | * admin/notes/tree-sitter/html-manual/Parser_002dbased-Font-Lock.html: Update. * admin/notes/tree-sitter/html-manual/Parsing-Program-Source.html: Update. * doc/lispref/modes.texi: Mention the new :level option. * lisp/treesit.el (treesit-font-lock-settings): Update docstring. (treesit-font-lock-rules): Support :level. Relayout the let form. (treesit-font-lock-fontify-region): Support :level.
* Add a :toggle option for tree-sitter font-lockYuan Fu2022-10-072-1/+3
| | | | | | | | | | | | | | * 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-0512-0/+2903
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.