[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/tree-sitter f071e61d10 10/15: ; Fix docstrings in treesit.el
From: |
Yuan Fu |
Subject: |
feature/tree-sitter f071e61d10 10/15: ; Fix docstrings in treesit.el |
Date: |
Sun, 25 Sep 2022 00:11:59 -0400 (EDT) |
branch: feature/tree-sitter
commit f071e61d106e6f3c17b660e3aa1a5b7890ea5d41
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
; Fix docstrings in treesit.el
* lisp/treesit.el (treesit-font-lock-rules)
(treesit-inspect-mode): Fix docstrings.
---
lisp/treesit.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lisp/treesit.el b/lisp/treesit.el
index 9bdff83da8..def2e6259e 100644
--- a/lisp/treesit.el
+++ b/lisp/treesit.el
@@ -336,10 +336,10 @@ Before each QUERY there could be :KEYWORD VALUE pairs that
configure the query (and only that query). For example,
(treesit-font-lock-rules
- :language 'javascript
- '((true) @font-lock-constant-face
+ :language \\='javascript
+ \\='((true) @font-lock-constant-face
(false) @font-lock-constant-face)
- :language 'html
+ :language \\='html
\"(script_element) @font-lock-builtin-face\")
For each QUERY, a :language keyword is required. Currently the
@@ -803,7 +803,7 @@ in (`treesit-parser-list')."
The mode-line displays
- PARENT FIELD-NAME: (CHILD (GRAND-CHILD (...)))
+ PARENT FIELD-NAME: (CHILD FIELD_NAME: (GRAND-CHILD (...)))
CHILD, GRAND-CHILD, and GRAND-GRAND-CHILD, etc, are nodes that
have their beginning at point. And PARENT is the parent of
- feature/tree-sitter eba6582436 09/15: Add the treesit-search functions that supplant the removed ones, (continued)
- feature/tree-sitter eba6582436 09/15: Add the treesit-search functions that supplant the removed ones, Yuan Fu, 2022/09/25
- feature/tree-sitter a31538ea5b 12/15: Fix treesit-search-forward, Yuan Fu, 2022/09/25
- feature/tree-sitter ef6e18a6b9 13/15: Improve treesit-search-forward-goto, Yuan Fu, 2022/09/25
- feature/tree-sitter 9e339415b4 14/15: Fix treesit-induce-sparse-tree, Yuan Fu, 2022/09/25
- feature/tree-sitter c5147882a9 03/15: ; Minor manual fix for tree-sitter indent, Yuan Fu, 2022/09/25
- feature/tree-sitter 914f68da05 04/15: ; Minor tree-sitter manual fix, Yuan Fu, 2022/09/25
- feature/tree-sitter 013c7d6aae 01/15: Rename treesit-expand-query/pattern, Yuan Fu, 2022/09/25
- feature/tree-sitter 9ed53535f5 15/15: ; * lisp/progmodes/python.el (python-mode): Fix typo., Yuan Fu, 2022/09/25
- feature/tree-sitter 08a1c32d0b 02/15: Improve printing treesit nodes, Yuan Fu, 2022/09/25
- feature/tree-sitter 1575ee2eeb 07/15: Accept nil as NODE in treesit-node-text, Yuan Fu, 2022/09/25
- feature/tree-sitter f071e61d10 10/15: ; Fix docstrings in treesit.el,
Yuan Fu <=
- feature/tree-sitter 795e01ac24 11/15: Update and enable treesit-imenu function in python.el, Yuan Fu, 2022/09/25