emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/indent-bars 48d6b40489 405/431: README: tweak ts-langua


From: ELPA Syncer
Subject: [elpa] externals/indent-bars 48d6b40489 405/431: README: tweak ts-language tip
Date: Mon, 16 Sep 2024 12:59:55 -0400 (EDT)

branch: externals/indent-bars
commit 48d6b40489698c3cacdd8fe7bdd87103144931e5
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>

    README: tweak ts-language tip
---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 5f889e2411..7310fa924e 100644
--- a/README.md
+++ b/README.md
@@ -270,8 +270,8 @@ Experiment with these to see what you prefer.
 #### Scope
 Simply configure `indent-bars-treesit-scope` with the languages and node types 
for which "local scope" highlighting nodes are of interest.  This must be done 
for each tree-sitter language you use.  This scope could be as granular as 
classes and functions, or include detailed block statements.  You can disable 
scoping for "short blocks" using `indent-bars-treesit-scope-min-lines`, so 
that, e.g., a quick `if` statement does not capture scope. I recommend starting 
with the minimal possible  [...]
 
-> [TIP]
-> If you don't know the name treesitter uses for your language, evaluate 
`(treesit-language-at (point-min))` in a ts-enabled buffer.
+> [!TIP]
+> If you don't know the name treesitter uses for your language, try `M-: 
(treesit-language-at (point-min))` in a ts-enabled buffer.
 
 #### Wrap
 `indent-bars-treesit-wrap` can be configured in a similar manner (mapping 
language to wrapping node types). Note that `indent-bars-no-descend-list`, 
which does not require tree-sitter and is on by default, may be sufficient for 
your uses.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]