[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/treesit-fold 9a7b17aec8 208/417: update
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/treesit-fold 9a7b17aec8 208/417: update |
Date: |
Mon, 1 Jul 2024 10:02:26 -0400 (EDT) |
branch: elpa/treesit-fold
commit 9a7b17aec876ff70fbfa1cea5cbec7d6269f1e09
Author: Jen-Chieh <jcs090218@gmail.com>
Commit: Jen-Chieh <jcs090218@gmail.com>
update
---
README.md | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index 5a42be107c..ec3ca703bc 100644
--- a/README.md
+++ b/README.md
@@ -26,9 +26,9 @@ to provide code folding base on the tree-sitter syntax tree.
- [📝 Summary](#📝-summary)
- [🔰 Contribute](#🔰-contribute)
- [❓ How to write a parser?](#❓-how-to-write-a-parser)
- - [Where can I look for tree-sitter
node?](#where-can-i-look-for-tree-sitter-node)
- - [How do I create the function for the corresponding
node?](#how-do-i-create-the-function-for-the-corresponding-node)
- - [🎉 Register to parsers alist!](#🎉-register-to-parsers-alist)
+ - [🔍 Where can I look for tree-sitter
node?](#🔍-where-can-i-look-for-tree-sitter-node)
+ - [🔍 How do I create the function for the corresponding
node?](#🔍-how-do-i-create-the-function-for-the-corresponding-node)
+ - [🔍 Register to parsers alist!](#🔍-register-to-parsers-alist)
<!-- markdown-toc end -->
@@ -199,7 +199,7 @@ that will return the folding range.
Let's move into details,
-#### Where can I look for tree-sitter node?
+#### 🔍 Where can I look for tree-sitter node?
To look for the correct node, you should look at the
`tree-sitter-[lang]/grammar.js`
implementation. In the above example, `block` node is defined in the
@@ -212,7 +212,7 @@ implementation. In the above example, `block` node is
defined in the
> under
> [tree-sitter-langs](https://github.com/emacs-tree-sitter/tree-sitter-langs)'s
> using the git submodule. Some tree-sitter module aren't using the latest
> version!
-#### How do I create the function for the corresponding node?
+#### 🔍 How do I create the function for the corresponding node?
Function takes 2 arguments, `node` and `offset`.
@@ -234,9 +234,9 @@ Let's look at function `ts-fold-range-seq` for better
understanding,
(ts-fold--cons-add (cons beg end) offset))) ; return fold range
```
-#### 🎉 Register to parsers alist!
+#### 🔍 Register to parsers alist!
-Don't get to add your parsers to entry alist.
+Don't forget to add your parser to entry alist.
```elisp
(defcustom ts-fold-range-alist
- [nongnu] elpa/treesit-fold 4e59c763c4 187/417: ci: cancel last workflow on push, (continued)
- [nongnu] elpa/treesit-fold 4e59c763c4 187/417: ci: cancel last workflow on push, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 62667ad992 189/417: Update README.md, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold d6fbca3748 168/417: Update changelog, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 9fdf72dc20 201/417: docs(README): order contribute section, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 4a2996eb5e 109/417: Organize, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 8a5c66d099 110/417: Add support for PHP, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 0fe507ba03 111/417: Support sharp blocks, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 91fdf441bf 366/417: chore: Update copyright year, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold cad8607df0 107/417: Organize parsers, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 1e19f7c159 113/417: Fix compile warnings, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 9a7b17aec8 208/417: update,
ELPA Syncer <=
- [nongnu] elpa/treesit-fold d8d6fc0558 209/417: update, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold bada0924b6 149/417: Support ruby, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold a137933c2b 153/417: Add screneshot, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold d7af314083 160/417: Done html, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold e286098005 164/417: Support css comment, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 19a05adc09 167/417: Rename, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 421809b55c 171/417: Add support evil-toggle-fold, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold d0e235d762 162/417: Fix toc, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 828938f21f 173/417: Update cask version for CI, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold be87b44bc0 174/417: Update CI, ELPA Syncer, 2024/07/01