diff options
author | Tom Willemse | 2021-11-16 20:49:08 -0800 |
---|---|---|
committer | Tom Willemse | 2021-11-16 20:49:08 -0800 |
commit | ad7152a4d2d10e25c26fca355b72ce141414bfb2 (patch) | |
tree | ee7f7c4eac063499bcfadba08d542e4343c92047 /oni-csharp/oni-csharp.el | |
parent | 3247273c696a36b86b073d3c5ed7740f50e13aa9 (diff) | |
download | emacs-config-ad7152a4d2d10e25c26fca355b72ce141414bfb2.tar.gz emacs-config-ad7152a4d2d10e25c26fca355b72ce141414bfb2.zip |
[oni-csharp] Change the location of Omnisharp on Windows
Diffstat (limited to 'oni-csharp/oni-csharp.el')
-rw-r--r-- | oni-csharp/oni-csharp.el | 7 |
1 files changed, 6 insertions, 1 deletions
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 <tom@ryuslash.org> ;; 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 "<Project xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\" ToolsVersion=\"4.0\">\n " _ "\n</Project>"))) +(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 |