Remove code.

This commit is contained in:
Mikaël Capelle 2016-03-19 13:38:55 +01:00
parent 0bf45b07fd
commit d15b9a3e8e

View File

@ -28,23 +28,18 @@
(yas-global-mode 1)
(define-key yas-minor-mode-map (kbd "<C-tab>") 'yas-next-field)
(require 'auto-complete)
(require 'auto-complete-config)
(ac-config-default)
(require 'auto-complete-clang-async)
;; (require 'auto-complete-clang-async)
(require 'ac-c-headers)
(add-to-list 'ac-modes 'latex-mode) ; make auto-complete aware of `latex-mode`
(add-to-list 'ac-modes 'org-mode)
(require 'ac-math)
(defun ac-cc-mode-setup ()
(setq ac-clang-complete-executable "~/.emacs.d/clang-complete")
(setq ac-clang-cflags (list "-std=c++11" "-I../inc"))
(setq ac-sources
(append '(ac-source-clang-async)
ac-sources))
(add-to-list 'ac-sources 'ac-source-c-headers)
(ac-clang-launch-completion-process)
(hs-minor-mode))
(add-hook 'c-mode-common-hook 'ac-cc-mode-setup)