irony-mode
irony-mode copied to clipboard
Async timeout with args
Hello,
Trying to set up irony, company-irony and flycheck-irony, using Ubuntu 18.04 (clang 6.0.0). When opening a new cpp file and trying to autocomplete something in the buffer I often receive the following message:
Company: backend company-irony async timeout with args (candidates)
Sometimes autocompletion works, and the chance of that happening is greater if flycheck-irony have identified a error. Have tried to increase the value of company-async-timeout but no luck there. Also tried to reinstall irony-server.
Is there anything I might be missing?
Config:
(use-package irony
:defer t
:init
(progn
(add-hook 'c++-mode-hook 'irony-mode)
(add-hook 'c-mode-hook 'irony-mode)
(add-hook 'objc-mode-hook 'irony-mode))
:config
(progn
(defun my-irony-mode-hook ()
(define-key irony-mode-map
[remap completion-at-point] 'counsel-irony)
(define-key irony-mode-map
[remap complete-symbol] 'counsel-irony))
(add-hook 'irony-mode-hook 'my-irony-mode-hook)
(add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options)))
(use-package company-irony
:defer t
:init
(eval-after-load 'company
'(add-to-list 'company-backends 'company-irony)))