From 13b2442899193656af16cf9f144126968f33983e Mon Sep 17 00:00:00 2001 From: doty Date: Wed, 13 Mar 2019 22:09:00 -0700 Subject: [PATCH] Just get rid of cquery; it doesn't work very well. --- .emacs.d/core.el | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/.emacs.d/core.el b/.emacs.d/core.el index 8491932..fca821e 100644 --- a/.emacs.d/core.el +++ b/.emacs.d/core.el @@ -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. ;; =================================================================