[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/indent-bars 8a1252ff36 2/2: Simplify install/config
From: |
ELPA Syncer |
Subject: |
[elpa] externals/indent-bars 8a1252ff36 2/2: Simplify install/config |
Date: |
Fri, 27 Sep 2024 18:58:18 -0400 (EDT) |
branch: externals/indent-bars
commit 8a1252ff36f6a41e51861cf03e95d52181d38ea6
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Simplify install/config
---
README.md | 17 ++++-------------
1 file changed, 4 insertions(+), 13 deletions(-)
diff --git a/README.md b/README.md
index b54832d10b..718bc89359 100644
--- a/README.md
+++ b/README.md
@@ -45,28 +45,19 @@ See the release [NEWS](NEWS.org).
`indent-bars` is on ELPA; simply install with Emacs' package facilities, and
configure by calling `indent-bars-mode` in your desired mode hooks.
-## use-package
+## Simple config
-Simple default config.
+Simple default config using `use-package`:
```elisp
(use-package indent-bars
:hook ((python-mode yaml-mode) . indent-bars-mode)) ; or whichever modes you
prefer
```
-## Straight
-To clone with `use-package` and `straight`:
-
-```elisp
-(use-package indent-bars
- :straight (indent-bars :type git :host github :repo "jdtsmith/indent-bars")
- :hook ((python-mode yaml-mode) . indent-bars-mode)) ; or whichever modes you
prefer
-```
-
-## use-package with tree-sitter support
+## tree-sitter support
> [!IMPORTANT]
-> `treesitter` users: `indent-bars` needs your help! If you have some good
settings for treesitter "wrap" and "scope" for your favorite languages, please
add them to the
[Wiki](https://github.com/jdtsmith/indent-bars/wiki/indent%E2%80%90bars-config-Wiki#tree-sitter-config)!
If we get a large enough collection they may be included by default.
+> `treesitter` users: `indent-bars` needs your help! If you have come up with
good settings for treesitter "wrap" and "scope" for your favorite languages,
please add them to the
[Wiki](https://github.com/jdtsmith/indent-bars/wiki/indent%E2%80%90bars-config-Wiki#tree-sitter-config)!
If we get a large enough collection they may be included as defaults.
Configures `tree-sitter` and `ignore-blank-line` support for an example
language.