Refactor initfiles
This commit is contained in:
parent
6b094920bd
commit
f2e2f05742
34 changed files with 1161 additions and 860 deletions
23
init/init-csharp.el
Normal file
23
init/init-csharp.el
Normal file
|
@ -0,0 +1,23 @@
|
|||
(provide 'init-csharp)
|
||||
|
||||
;; TODO Make more Unity-friendly
|
||||
|
||||
(use-package omnisharp :defer t
|
||||
:config
|
||||
(progn
|
||||
;; (setq flycheck-idle-change-delay 2)
|
||||
(setq omnisharp-server-executable-path "/Users/hlissner/Omni/OmniSharpServer/OmniSharp/bin/Debug/OmniSharp.exe")))
|
||||
|
||||
(use-package shaderlab-mode :defer t
|
||||
:mode "\\.shader")
|
||||
|
||||
(use-package csharp-mode
|
||||
:mode "\\.cs\\'"
|
||||
:config
|
||||
(progn
|
||||
(diminish 'abbrev-mode)
|
||||
(imap csharp-mode-map (kbd "C-SPC") 'omnisharp-auto-complete))
|
||||
:init
|
||||
(progn
|
||||
(setq csharp-want-imenu nil)
|
||||
(add-hook 'csharp-mode-hook (lambda() (omnisharp-mode t) (flycheck-mode t)))))
|
Loading…
Add table
Add a link
Reference in a new issue