Major overhaul
This commit is contained in:
parent
4ab3ae1125
commit
6bda25da1f
76 changed files with 7431 additions and 571 deletions
28
modules/init-csharp.el
Normal file
28
modules/init-csharp.el
Normal file
|
@ -0,0 +1,28 @@
|
|||
(provide 'init-csharp)
|
||||
|
||||
(use-package omnisharp :defer t
|
||||
:config
|
||||
(progn
|
||||
(setq omnisharp-server-executable-path "~/Dropbox/projects/lib/Omnisharp/server/OmniSharp/bin/Debug/OmniSharp.exe")
|
||||
|
||||
(bind 'normal omnisharp-mdoe-map
|
||||
"gd" 'omnisharp-go-to-definition
|
||||
"")
|
||||
|
||||
(after "company"
|
||||
(company--backend-on 'csharpmode 'company-omnisharp)
|
||||
(add-hook 'csharp-mode-hook 'eldoc-mode))
|
||||
))
|
||||
|
||||
(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)))
|
||||
|
||||
;; unity shaders
|
||||
(use-package shaderlab-mode :mode "\\.shader$")
|
||||
|
||||
;; TODO Make more Unity-friendly
|
Loading…
Add table
Add a link
Reference in a new issue