1
0
Fork 0

[oni-csharp] Change the location of Omnisharp on Windows

This commit is contained in:
Tom Willemse 2021-11-16 20:49:08 -08:00
parent 3247273c69
commit ad7152a4d2

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; 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) ;; 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 ;; This program is free software; you can redistribute it and/or modify
@ -176,6 +176,11 @@ _cs_: Solution
nil nil
"<Project xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\" ToolsVersion=\"4.0\">\n " _ "\n</Project>"))) "<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 ;;;###autoload
(with-eval-after-load 'csharp-mode (with-eval-after-load 'csharp-mode
(with-eval-after-load 'yasnippet (with-eval-after-load 'yasnippet