[cmake] Remove cmake forgotten cmake config in c-c++ layer

This commit is contained in:
syl20bnr 2019-09-30 22:33:25 -04:00
parent bb145f3e70
commit ab818140d0
2 changed files with 1 additions and 4 deletions

View file

@ -83,8 +83,6 @@
"=f" 'spacemacs/clang-format-function)))))
(defun c-c++/post-init-company ()
(when (configuration-layer/package-used-p 'cmake-mode)
(spacemacs|add-company-backends :backends company-cmake :modes cmake-mode))
(when c-c++-enable-clang-support
(if (eq c-c++-backend 'lsp)
(display-warning :error "`c-c++-enable-clang-support' ignored when using lsp backend")

View file

@ -41,8 +41,7 @@
:mode (("CMakeLists\\.txt\\'" . cmake-mode) ("\\.cmake\\'" . cmake-mode))))
(defun cmake/post-init-company ()
(when (configuration-layer/package-used-p 'cmake-mode)
(spacemacs|add-company-backends :backends company-cmake :modes cmake-mode)))
(spacemacs|add-company-backends :backends company-cmake :modes cmake-mode))
(defun cmake/init-helm-ctest ()
(use-package helm-ctest