summaryrefslogtreecommitdiff
path: root/emacs/.config/emacs-kj
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-01-08 21:09:07 -0500
committerKjetil Orbekk <kj@orbekk.com>2023-01-08 21:09:07 -0500
commita7c57f3cf2449d512573dc510476fe7081e72f9a (patch)
tree51d3d955fdc87b8d9477c18727db78003622a32a /emacs/.config/emacs-kj
parent926b473c11c3a33ecf85a142d3550e06660253da (diff)
update rust setup
Diffstat (limited to 'emacs/.config/emacs-kj')
-rw-r--r--emacs/.config/emacs-kj/development.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/emacs/.config/emacs-kj/development.el b/emacs/.config/emacs-kj/development.el
index 64e4e7c..54e8dc5 100644
--- a/emacs/.config/emacs-kj/development.el
+++ b/emacs/.config/emacs-kj/development.el
@@ -4,8 +4,13 @@
(use-package rustic
:after eglot
- :bind (("C-c C-r C-s" . rustic-popup))
+ :bind (("C-c C-r C-s" . rustic-popup)
+ ("C-c C-r C-n" . kj/rustic-nextest-all))
:config
+ (defun kj/rustic-nextest-all ()
+ (interactive)
+ (setq rustic-cargo-nextest-exec-command "nextest run --run-ignored all")
+ (rustic-cargo-run-nextest))
(setq
;; eglot seems to be the best option right now.
rustic-lsp-client 'eglot