Add eclim, omnisharp, and cpp support
This commit is contained in:
parent
48e4d30534
commit
bdba39ddf9
25 changed files with 963 additions and 466 deletions
23
init/mod-csharp.el
Normal file
23
init/mod-csharp.el
Normal file
|
@ -0,0 +1,23 @@
|
|||
;; TODO Make more Unity-friendly
|
||||
|
||||
(use-package omnisharp :ensure t :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 :ensure t
|
||||
: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)))))
|
||||
|
||||
(provide 'mod-csharp)
|
Loading…
Add table
Add a link
Reference in a new issue