-
Notifications
You must be signed in to change notification settings - Fork 14
cquery.elc failed to define function lsp-cquery-enable #58
Copy link
Copy link
Open
Description
After doing a package update lsp-cquery-enable doesn't seem to work for me, on startup I get this in my messages:
File mode specification error: (error Autoloading file /home/jeff/.emacs.d/elpa/cquery-20181203.1829/cquery.elc failed to define function lsp-cquery-enable)
My emacs skills are somewhat lacking so please forgive me if I have done something stupid here. Relevant part of my .emacs.d/init.el (which I mostly took from the wiki):
(use-package cquery
:ensure t
:bind
(:map c++-mode-map
("C-b" . clang-format-buffer)
("C-d" . duplicate-thing))
:commands lsp-cquery-enable
:init
(defun cquery//enable ()
(condition-case nil (lsp-cquery-enable) (user-error nil)))
(add-hook 'c-mode-hook #'cquery//enable)
(add-hook 'c++-mode-hook #'cquery//enable))
and the full config is here
Any help is much appreciated and please let me know if there is anything I can do to help.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels