[oni-csharp] Change the location of Omnisharp on Windows
This commit is contained in:
parent
3247273c69
commit
ad7152a4d2
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue