Write modules + defuns

This commit is contained in:
Henrik Lissner 2015-06-15 09:06:10 +02:00
parent b998f4ab08
commit 3472a1631f
31 changed files with 1418 additions and 32 deletions

25
modules/module-csharp.el Normal file
View file

@ -0,0 +1,25 @@
;;; module-csharp.el
(use-package csharp-mode
:functions (csharp-log)
:mode "\\.cs$"
:init (add-hook! csharp-mode 'flycheck-mode))
(use-package omnisharp
:after csharp-mode
:config
(setq omnisharp-server-executable-path
"~/Dropbox/projects/lib/Omnisharp/server/OmniSharp/bin/Debug/OmniSharp.exe")
(bind! :map omnisharp-mode-map
:n "gd" 'omnisharp-go-to-definition)
(after! company
(add-company-backend! csharp-mode (omnisharp))
(add-hook! csharp-mode 'turn-on-eldoc-mode)))
;; unity shaders
(use-package shaderlab-mode :mode "\\.shader$")
(provide 'module-csharp)
;;; module-csharp.el ends here