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

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

[elpa] externals/indent-bars 96d64efa43 064/431: Update README.md


From: ELPA Syncer
Subject: [elpa] externals/indent-bars 96d64efa43 064/431: Update README.md
Date: Mon, 16 Sep 2024 12:59:14 -0400 (EDT)

branch: externals/indent-bars
commit 96d64efa43207c7c2783d9a4d3868fb3420f7ca1
Author: Bruno da Silva Belo <brunodasilvabelo@gmail.com>
Commit: GitHub <noreply@github.com>

    Update README.md
    
    Adding straight example
---
 README.md | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 3aecad4ca9..caca012644 100644
--- a/README.md
+++ b/README.md
@@ -26,14 +26,22 @@ There are ([many](#related-packages)) existing packages 
that provide indentation
 
 # Install/config
 
-Not yet in a package database; simply clone and point `use-package` at the 
correct path (or use 
[straight](https://github.com/radian-software/straight.el), etc.).
+Not yet in a package database; simply clone and point `use-package` at the 
correct path.
 
 ```elisp
 (use-package indent-bars
   :load-path "~/code/emacs/indent-bars"
   :hook ((python-mode yaml-mode) . indent-bars-mode)) ; or whichever modes you 
prefer
 ```
+## Straight
 
+To clone with `use-package` and `straight`, add to config:
+
+```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
+```
 ## Compatibility 
 
 For `indent-bars` to work, your port and version of emacs must correctly 
support the `:stipple` face attribute.  **Most do.**



reply via email to

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