[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/treesit-fold d3665fd07a 013/417: update readme
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/treesit-fold d3665fd07a 013/417: update readme |
Date: |
Mon, 1 Jul 2024 10:02:05 -0400 (EDT) |
branch: elpa/treesit-fold
commit d3665fd07a444881af57d57138c1602483805564
Author: Junyi Hou <junyi.yi.hou@gmail.com>
Commit: Junyi Hou <junyi.yi.hou@gmail.com>
update readme
---
readme.org | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/readme.org b/readme.org
index 0362522208..2e32168652 100644
--- a/readme.org
+++ b/readme.org
@@ -68,12 +68,10 @@ Following the following steps to build additional grammar
for ~emacs-tree-sitter
2. add new grammar repos to ~tree-sitter-langs-git-dir~. In the case of ~R~,
run
#+begin_src emacs-lisp
;; make sure I do not re-add the submodule multiple times
- (condition-case _
- (tree-sitter-langs--repo-status 'r)
- (error
- (let ((default-directory tree-sitter-langs-git-dir))
- (tree-sitter-langs--call
- "git" "submodule" "add" "https://github.com/r-lib/tree-sitter-r"
"repos/r"))))
+ (unless (f-exists-p (concat tree-sitter-langs-git-dir "/repos/r"))
+ (let ((default-directory tree-sitter-langs-git-dir))
+ (tree-sitter-langs--call
+ "git" "submodule" "add" "https://github.com/r-lib/tree-sitter-r"
"repos/r")))
#+end_src
3. compile the new grammar parser by running
- [nongnu] branch elpa/treesit-fold created (now f66e2b8be9), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold ce21a60d23 001/417: init commit, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 2f826374a8 007/417: add installation guide, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold e28c905a45 006/417: improve error message when no foldable node under point, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold d3665fd07a 013/417: update readme,
ELPA Syncer <=
- [nongnu] elpa/treesit-fold 26bcac9cfb 008/417: add contribution guide, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 510f3ff119 018/417: update readme, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 3a66cdeb1a 002/417: update readme, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold e7dd19b2d1 005/417: fix compile bug: add to evil-fold-list only if it exist, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 568085877e 014/417: better notes on how to install additional grammars, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 2ad70aae0d 023/417: Remove unused format function, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 88b0e6eab0 039/417: Update doc, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 557df0a4fe 045/417: Add replacement customization, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 6603e0ddbb 057/417: Split parser, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 7127f4bbcc 061/417: Add comment, ELPA Syncer, 2024/07/01