Just get rid of cquery; it doesn't work very well.

This commit is contained in:
doty 2019-03-13 22:09:00 -07:00
parent 72335ee5a6
commit 13b2442899

View file

@ -456,32 +456,6 @@
0 ; no additional indent
ad-do-it))) ; default behavior
(use-package cquery
:ensure
:if
(file-exists-p "/bin/cquery")
:bind
("M-." . xref-find-definitions)
:preface
(defun cquery//enable ()
(condition-case nil
(lsp-cquery-enable)
(user-error nil)))
:init
(add-hook 'c-mode-common-hook #'cquery//enable)
:config
(setq
cquery-executable "/bin/cquery"
cquery-extra-args '("--log-file=/tmp/cq.log")
cquery-sem-highlight-method 'font-lock
company-transformers nil
company-lsp-async t
company-lsp-cache-candidates nil))
;; =================================================================
;; C#-Mode configuration.
;; =================================================================