doomemacs/init/init-csharp.el

30 lines
817 B
EmacsLisp
Raw Normal View History

2015-01-15 01:49:11 -05:00
(use-package omnisharp
:defer t
2014-12-05 17:28:03 -05:00
:config
(progn
(setq omnisharp-server-executable-path "~/Dropbox/projects/lib/Omnisharp/server/OmniSharp/bin/Debug/OmniSharp.exe")
2015-01-15 01:49:11 -05:00
(bind 'normal omnisharp-mode-map
"gd" 'omnisharp-go-to-definition)
2014-12-05 17:28:03 -05:00
(after "company"
2015-01-15 01:49:11 -05:00
(company--backend-on 'csharp-mode-hook 'company-omnisharp)
(add-hook 'csharp-mode-hook 'turn-on-eldoc-mode))))
2014-08-09 19:25:06 -04:00
(use-package csharp-mode :mode "\\.cs$")
;; (use-package csharp-mode
;; :mode "\\.cs$"
;; :config
;; (bind 'insert csharp-mode-map (kbd "C-SPC") 'omnisharp-auto-complete))
;; :init
;; (add-hook! 'csharp-mode-hook (omnisharp-mode t) (flycheck-mode t)))
2014-08-09 19:25:06 -04:00
;; unity shaders
(use-package shaderlab-mode :mode "\\.shader$")
2014-08-09 19:25:06 -04:00
;; TODO Make more Unity-friendly
2014-12-12 15:35:58 -05:00
2015-01-15 01:49:11 -05:00
2014-12-12 15:35:58 -05:00
(provide 'init-csharp)
;;; init-csharp.el ends here