[c-c++] Add missing spacemacs//c-c++-setup-semantic function
This commit is contained in:
parent
5ad1ecd542
commit
b49e28c541
1 changed files with 6 additions and 0 deletions
|
@ -68,6 +68,12 @@
|
||||||
(`lsp-ccls (spacemacs//c-c++-setup-clang-format))
|
(`lsp-ccls (spacemacs//c-c++-setup-clang-format))
|
||||||
(`lsp-cquery (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
|
;; lsp
|
||||||
|
|
||||||
|
|
Reference in a new issue