From ad7152a4d2d10e25c26fca355b72ce141414bfb2 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 16 Nov 2021 20:49:08 -0800 Subject: [oni-csharp] Change the location of Omnisharp on Windows --- oni-csharp/oni-csharp.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'oni-csharp') diff --git a/oni-csharp/oni-csharp.el b/oni-csharp/oni-csharp.el index 41a7203..a38a25f 100644 --- a/oni-csharp/oni-csharp.el +++ b/oni-csharp/oni-csharp.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2021.0920.201817 +;; Version: 2021.1116.204856 ;; Package-Requires: (csharp-mode oni-company oni-flycheck oni-yasnippet oni-hydra oni-lsp oni-smartparens) ;; This program is free software; you can redistribute it and/or modify @@ -176,6 +176,11 @@ _cs_: Solution nil "\n " _ "\n"))) +(with-eval-after-load 'lsp-csharp + (when (eq system-type 'windows-nt) + (setq lsp-csharp-omnisharp-roslyn-server-dir + (expand-file-name "~/scoop/apps/omnisharp/current")))) + ;;;###autoload (with-eval-after-load 'csharp-mode (with-eval-after-load 'yasnippet -- cgit v1.2.3-54-g00ecf