diff options
author | oreodave <aryadevchavali1@gmail.com> | 2019-08-25 21:32:08 +0100 |
---|---|---|
committer | oreodave <aryadevchavali1@gmail.com> | 2019-08-25 21:32:08 +0100 |
commit | 706318a0cd9cc27344f1aad063dbd5916b3c206f (patch) | |
tree | 89062d31386dc9a5d5302951a520f3f42045202b /doom.d/config.org | |
parent | 4994b56a003b45f7fa2b2136b0a2757455ef5a88 (diff) | |
download | dotfiles-706318a0cd9cc27344f1aad063dbd5916b3c206f.tar.gz dotfiles-706318a0cd9cc27344f1aad063dbd5916b3c206f.tar.bz2 dotfiles-706318a0cd9cc27344f1aad063dbd5916b3c206f.zip |
+testing functionality of omnisharp
Trying to see if I can get test method elements from the omnisharp server
Diffstat (limited to 'doom.d/config.org')
-rw-r--r-- | doom.d/config.org | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doom.d/config.org b/doom.d/config.org index eab605b..520cf69 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -134,6 +134,13 @@ My docsets are stored in .docsets for ease of use *** C# #+BEGIN_SRC emacs-lisp (after! csharp-mode + (defun oreodave/csharp/unit-test () + (interactive) + (omnisharp--cs-inspect-buffer + (lambda (elements) + (let* ((test-methods (omnisharp--cs-filter-resursively + 'omnisharp--cs-unit-test-method-p + elements))) ;; Get set of elements through omnisharp (setq omnisharp-server-executable-path "~/bin/omnisharp/run") (add-hook 'csharp-mode-hook '(lambda() (setq c-basic-offset 4))) ; Hook for csharp setting variables |