-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
I am getting warnings when loading rustic because the type declaration of the custom option rustic-cargo-nextest-exec-command is :string as defined here:
Lines 38 to 41 in 194f15c
| (defcustom rustic-cargo-nextest-exec-command (list "nextest" "run") | |
| "Execute command to run nextest." | |
| :type 'string | |
| :group 'rustic-cargo) |
The issue is that even the default value is a list of strings but I am not sure how to define that =/ Here is the warning:
⛔ Warning (emacs): Value ‘(("nextest" "run" "--no-capture"))’ for ‘rustic-cargo-nextest-exec-command’ does not match type string
To trigger it, use setopt instead of setq. Here is my config:
(use-package
rustic
:pin melpa
:after rust-mode
:init
(setopt rustic-lsp-client 'eglot)
(setopt rustic-cargo-test-runner 'nextest)
(setopt rustic-cargo-nextest-exec-command '("nextest" "run" "--no-capture")))Metadata
Metadata
Assignees
Labels
No labels