aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororeodave <aryadevchavali1@gmail.com>2019-08-25 21:57:20 +0100
committeroreodave <aryadevchavali1@gmail.com>2019-08-25 21:57:20 +0100
commit3df00c2d24e905dc09a74625d0f5ee46cb14f1f9 (patch)
treecd70aa60623ff4ffa2079c53839be2c6f7cce40b
parent706318a0cd9cc27344f1aad063dbd5916b3c206f (diff)
downloaddotfiles-3df00c2d24e905dc09a74625d0f5ee46cb14f1f9.tar.gz
dotfiles-3df00c2d24e905dc09a74625d0f5ee46cb14f1f9.tar.bz2
dotfiles-3df00c2d24e905dc09a74625d0f5ee46cb14f1f9.zip
+ivy interface that uses the test method names
-rw-r--r--doom.d/config.org9
1 files changed, 9 insertions, 0 deletions
diff --git a/doom.d/config.org b/doom.d/config.org
index 520cf69..cc546f3 100644
--- a/doom.d/config.org
+++ b/doom.d/config.org
@@ -141,6 +141,15 @@ My docsets are stored in .docsets for ease of use
(let* ((test-methods (omnisharp--cs-filter-resursively
'omnisharp--cs-unit-test-method-p
elements))) ;; Get set of elements through omnisharp
+
+ (ivy-read "Choose test: " ;; Start ivy to get nice menu
+ (mapcar (lambda (els) (cdr (nth 1 els))) test-methods) ;; Get names of any unit test methods
+ :require-match t
+ :keymap counsel-describe-map
+ :sort t
+ :unwind (lambda ()
+ (counsel-delete-process)
+ (swiper--cleanup))
(setq omnisharp-server-executable-path "~/bin/omnisharp/run")
(add-hook 'csharp-mode-hook '(lambda() (setq c-basic-offset 4))) ; Hook for csharp setting variables