Skip to content

Semantic highlighting errors #5

Closed
@rietmann

Description

@rietmann

Trying the melpa version (20180121.2203), I get the following errors:

error in process filter: cquery--publish-semantic-highlighting: Symbol’s function definition is void: face
error in process filter: Symbol’s function definition is void: face

I'm using spacemacs, trying the lsp layer in this pull request, and a cquery layer that looks like:

(defconst cquery-packages
  '(
    ;; lsp-mode ;; lsp required via (configuration-layer/declare-layer 'lsp)
    company-lsp
    cquery
    ))

;; (defun cquery/init-lsp-mode ()
;;   (use-package lsp-mode))

(defun cquery/post-init-company-lsp ()
  (message "trying adding company-lsp to c-mode-common backends")
  (push 'company-lsp company-backends-c-mode-common)
  )

(defun cquery/init-cquery ()
  (use-package cquery
    :init
    (progn
      (spacemacs/add-to-hooks #'lsp-cquery-enable '(c-mode-hook c++-mode-hook))
      )))

And a few tweaks in user-config

(setq cquery-additional-arguments (list "--log-file" "cquery.log"))
  (setq cquery-executable "/home/rietmann/.local/stow/cquery/bin/cquery")
  ;; (setq lsp-highlight-symbol-at-point nil)
  ;; (face-spec-set 'lsp-face-highlight-textual '((t :background nil :inherit hl-line)))
  (setq lsp-ui-sideline-show-hover nil)

I'm not too good at debugging elisp, but I thought you should know I'm having trouble and my config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions