From ec6bf12ded26647149d286732724c417288c781f Mon Sep 17 00:00:00 2001 From: John Doty Date: Mon, 1 Apr 2019 06:27:07 -0700 Subject: [PATCH] Use dev-built prettysharp when possible. --- .emacs.d/init.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 846e8ce..baf3443 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -469,6 +469,12 @@ :config (eval-after-load 'company '(add-to-list 'company-backends 'company-omnisharp))) + (use-package prettysharp + :commands prettysharp-mode + :config + (if (file-executable-p "c:/src/prettysharp/prettysharp.exe") + (setq prettysharp-command "c:/src/prettysharp/prettysharp.exe"))) + (add-hook 'csharp-mode-hook 'my-csharp-mode-hook) (c-add-style "ms-csharp" '((c-basic-offset . 4)