Add eclim, omnisharp, and cpp support
This commit is contained in:
parent
48e4d30534
commit
bdba39ddf9
25 changed files with 963 additions and 466 deletions
|
@ -1,16 +1,21 @@
|
|||
|
||||
(mapc 'my/install-package '(auto-complete-clang auto-complete-c-headers))
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.h\\'" . c++-mode))
|
||||
|
||||
(add-hook 'c-mode-common-hook
|
||||
(lambda()
|
||||
(use-package auto-complete-clang)
|
||||
(use-package auto-complete-c-headers)
|
||||
(lambda()
|
||||
(use-package auto-complete-clang :ensure t)
|
||||
(use-package auto-complete-c-headers :ensure t)
|
||||
|
||||
(setq ac-sources '(ac-source-clang ac-source-c-headers ac-source-yasnippet))))
|
||||
(setq ac-sources
|
||||
'(ac-source-clang
|
||||
ac-source-c-headers
|
||||
ac-source-yasnippet
|
||||
ac-source-words-in-same-mode-buffers
|
||||
))))
|
||||
|
||||
;; TODO Better SFML & build settings
|
||||
(use-package glsl-mode :ensure t
|
||||
:mode (("\\.glsl\\'" . glsl-mode)
|
||||
("\\.vert\\'" . glsl-mode)
|
||||
("\\.frag\\'" . glsl-mode)
|
||||
("\\.geom\\'" . glsl-mode)))
|
||||
|
||||
;;
|
||||
(provide 'mod-cpp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue