From da0f3afb123c90f9b68e51d9057c339754eb49f3 Mon Sep 17 00:00:00 2001 From: oreodave Date: Fri, 23 Aug 2019 21:48:58 +0100 Subject: [PATCH 1/3] lang/csharp: -Remove old bindings These bindings use older omnisharp functions that no longer work. Should be replaced by new omnisharp functions --- modules/lang/csharp/config.el | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/lang/csharp/config.el b/modules/lang/csharp/config.el index 7d1e7763f..5665deb6f 100644 --- a/modules/lang/csharp/config.el +++ b/modules/lang/csharp/config.el @@ -52,9 +52,6 @@ "ti" #'omnisharp-current-type-information "td" #'omnisharp-current-type-documentation) (:prefix "t" - "r" (λ! (omnisharp-unit-test "fixture")) - "s" (λ! (omnisharp-unit-test "single")) - "a" (λ! (omnisharp-unit-test "all"))))) (when (featurep! +unity) From c35c704de888c522ee9f81dac91b8f9a50161832 Mon Sep 17 00:00:00 2001 From: oreodave Date: Fri, 23 Aug 2019 21:50:37 +0100 Subject: [PATCH 2/3] lang/csharp: updated bindings Specifically: - `t-a` -> `t-s` ("unit test all" is now "unit test buffer") - `t-r` -> `t-l` ("unit test ?" is now "unit test last") - `t-s` is the same (couldn't think of anything better) --- modules/lang/csharp/config.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/lang/csharp/config.el b/modules/lang/csharp/config.el index 5665deb6f..e8ed62f4e 100644 --- a/modules/lang/csharp/config.el +++ b/modules/lang/csharp/config.el @@ -52,6 +52,9 @@ "ti" #'omnisharp-current-type-information "td" #'omnisharp-current-type-documentation) (:prefix "t" + "s" #'omnisharp-unit-test-at-point + "l" #'omnisharp-unit-test-last + "b" #'omnisharp-unit-test-buffer))) (when (featurep! +unity) From ff1b2104693d522d76ee389d4ffb5c0c243c90df Mon Sep 17 00:00:00 2001 From: oreodave Date: Fri, 23 Aug 2019 23:14:51 +0100 Subject: [PATCH 3/3] lang/csharp: Fix code issues keybind does not work ri : omnisharp-fix-code-issue-at-point This function does not exist, thus the keybind doesn't work --- modules/lang/csharp/config.el | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/lang/csharp/config.el b/modules/lang/csharp/config.el index e8ed62f4e..960b4b943 100644 --- a/modules/lang/csharp/config.el +++ b/modules/lang/csharp/config.el @@ -36,7 +36,6 @@ :map omnisharp-mode-map "b" #'omnisharp-recompile (:prefix "r" - "i" #'omnisharp-fix-code-issue-at-point "u" #'omnisharp-fix-usings "r" #'omnisharp-rename "a" #'omnisharp-show-last-auto-complete-result