C# emacs stuff?

This commit is contained in:
John Doty 2018-01-25 10:43:20 -08:00
parent 597172f203
commit b877fe0ccf

View file

@ -505,6 +505,7 @@
)))) ))))
(defun my-csharp-mode-hook () (defun my-csharp-mode-hook ()
"My C# mode hook."
(turn-on-font-lock) (turn-on-font-lock)
(c-set-style "ms-csharp")) (c-set-style "ms-csharp"))
@ -513,6 +514,10 @@
(add-to-list 'auto-mode-alist '("\\.cool$" . csharp-mode)) (add-to-list 'auto-mode-alist '("\\.cool$" . csharp-mode))
(add-to-list 'auto-mode-alist '("\\.cs$" . csharp-mode)) (add-to-list 'auto-mode-alist '("\\.cs$" . csharp-mode))
(eval-after-load
'company
'(add-to-list 'company-backends 'company-omnisharp))
;; ================================================================= ;; =================================================================
;; "XML" Support ;; "XML" Support
;; ;;