[c-c++] Add missing spacemacs//c-c++-setup-semantic function

This commit is contained in:
syl20bnr 2019-11-02 22:00:42 -04:00
parent 5ad1ecd542
commit b49e28c541

View file

@ -68,6 +68,12 @@
(`lsp-ccls (spacemacs//c-c++-setup-clang-format))
(`lsp-cquery (spacemacs//c-c++-setup-clang-format))))
(defun spacemacs//c-c++-setup-semantic ()
"Conditionally setup semantic based on backend."
(pcase (spacemacs//c-c++-backend)
(`rtags (spacemacs//c-c++-setup-rtags-semantic))
(`ycmd (spacemacs//c-c++-setup-ycmd-semantic))))
;; lsp