c-c++ layer: Fix append of company-cmake

This commit is contained in:
syl20bnr 2015-03-31 22:37:53 -04:00
parent 46248b1e73
commit 5e993d8e4c

View file

@ -50,7 +50,7 @@ which require an initialization must be listed explicitly in the list.")
:mode (("CMakeLists\\.txt\\'" . cmake-mode) ("\\.cmake\\'" . cmake-mode))
:init
;; lower priority for this backend, we append it
(add-to-list 'company-cmake 'company-backends-c-c++ 'append)))
(add-to-list 'company-backends-c-c++ 'company-cmake 'append)))
(defun c-c++/init-company ()
;; push this backend by default