Skip to content

Commit

Permalink
Add group tag
Browse files Browse the repository at this point in the history
  • Loading branch information
psibi committed Nov 15, 2024
1 parent f7c4c89 commit 1cbce95
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.org
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ W => open a shell without executing
change the /justl-executable/ variable to set any explicit path.
- You can also control the width of the RECIPE column in the justl
buffer via /justl-recipe width/. By default it has a value of 20.
- You can change the shell between /eshell/ and /vterm/ using the /justl-shell/ variable. Using vterm requires [[https://github.com/akermu/emacs-libvterm][the vterm package]] to be installed.
- You can change the shell between /eshell/ and /vterm/ using the
/justl-shell/ variable. Using vterm requires [[https://github.com/akermu/emacs-libvterm][the vterm package]] to be
installed.

* Future

Expand Down
9 changes: 8 additions & 1 deletion justl.el
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,12 @@
(defcustom justl-executable "just"
"Location of just executable."
:type 'file
:group 'justl
:safe 'stringp)

(defcustom justl-recipe-width 20
"Width of the recipe column."
:group 'justl
:type 'integer)

(defcustom justl-justfile nil
Expand All @@ -105,25 +107,30 @@
If this is NIL, it means that no justfile was found. In any
other cases, it's a known path."
:type 'string
:group 'justl
:local t
:safe 'stringp)

(defcustom justl-include-private-recipes nil
"If non-nil, include private recipes in the list."
:type 'boolean
:group 'justl
:safe 'booleanp)

(defcustom justl-per-recipe-buffer nil
"If non-nil, create a new buffer per recipe."
:type 'boolean
:group 'justl
:safe 'booleanp)

(defcustom justl-shell 'eshell
"Shell to use when running recipes.
Can be either Eshell or vterm. Using vterm requires the vterm
package to be installed."

:type '(choice (const eshell)
(const vterm)))
(const vterm))
:group 'justl)

(defun justl--recipe-output-buffer (recipe-name)
"Return the buffer name for the RECIPE-NAME."
Expand Down

0 comments on commit 1cbce95

Please sign in to comment.