From 5c47bd8a72249318edd5ee38ec8b8b108f62ab7b Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 8 Oct 2024 10:42:50 -0500 Subject: [PATCH] adding test-arguments to rustic --- README.org | 3 ++- init.el | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 356b771d..e11cac22 100644 --- a/README.org +++ b/README.org @@ -3558,7 +3558,8 @@ I'd like to start learning and using rust if I can. (setq rustic-format-on-save t rustic-lsp-client 'eglot rustic-clippy-arguments "-- -W clippy::pedantic -W clippy::perf -W clippy::nursery -W clippy::unwrap_used" - rustic-rustfmt-args '("--edition" "2021")) + rustic-rustfmt-args '("--edition" "2021") + rustic-test-arguments "-- --nocapture") (advice-add 'eglot-completion-at-point :around #'cape-wrap-buster) (add-to-list 'compilation-error-regexp-alist rustic-compilation-error) (add-to-list 'compilation-error-regexp-alist rustic-compilation-warning) diff --git a/init.el b/init.el index fcfc60d5..2f71ba7e 100644 --- a/init.el +++ b/init.el @@ -2600,7 +2600,8 @@ targets." (setq rustic-format-on-save t rustic-lsp-client 'eglot rustic-clippy-arguments "-- -W clippy::pedantic -W clippy::perf -W clippy::nursery -W clippy::unwrap_used" - rustic-rustfmt-args '("--edition" "2021")) + rustic-rustfmt-args '("--edition" "2021") + rustic-test-arguments "-- --nocapture") (advice-add 'eglot-completion-at-point :around #'cape-wrap-buster) (add-to-list 'compilation-error-regexp-alist rustic-compilation-error) (add-to-list 'compilation-error-regexp-alist rustic-compilation-warning)