From b877fe0ccfa06e815aa73ef3f3477ac53b5bd5d9 Mon Sep 17 00:00:00 2001 From: John Doty Date: Thu, 25 Jan 2018 10:43:20 -0800 Subject: [PATCH] C# emacs stuff? --- .emacs.d/core.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.emacs.d/core.el b/.emacs.d/core.el index 3f37e55..12ac7ed 100644 --- a/.emacs.d/core.el +++ b/.emacs.d/core.el @@ -505,6 +505,7 @@ )))) (defun my-csharp-mode-hook () + "My C# mode hook." (turn-on-font-lock) (c-set-style "ms-csharp")) @@ -513,6 +514,10 @@ (add-to-list 'auto-mode-alist '("\\.cool$" . csharp-mode)) (add-to-list 'auto-mode-alist '("\\.cs$" . csharp-mode)) +(eval-after-load + 'company + '(add-to-list 'company-backends 'company-omnisharp)) + ;; ================================================================= ;; "XML" Support ;;