Fix #4355: trigger eldoc after company completions
This commit is contained in:
parent
b5e948054c
commit
a9f57f14ac
1 changed files with 8 additions and 2 deletions
|
@ -67,11 +67,17 @@
|
||||||
;; completion is not activated, the value is ((t . nil)).
|
;; completion is not activated, the value is ((t . nil)).
|
||||||
(add-hook! 'evil-local-mode-hook
|
(add-hook! 'evil-local-mode-hook
|
||||||
(when (memq 'company-emulation-alist emulation-mode-map-alists)
|
(when (memq 'company-emulation-alist emulation-mode-map-alists)
|
||||||
(company-ensure-emulation-alist))))
|
(company-ensure-emulation-alist)))
|
||||||
|
|
||||||
|
;; Fix #4355: allow eldoc to trigger after completions.
|
||||||
|
(after! eldoc
|
||||||
|
(eldoc-add-command 'company-complete-selection
|
||||||
|
'company-complete-common
|
||||||
|
'company-abort)))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Packages
|
;;; Packages
|
||||||
|
|
||||||
(after! company-files
|
(after! company-files
|
||||||
(add-to-list 'company-files--regexps "file:\\(\\(?:\\.\\{1,2\\}/\\|~/\\|/\\)[^\]\n]*\\)"))
|
(add-to-list 'company-files--regexps "file:\\(\\(?:\\.\\{1,2\\}/\\|~/\\|/\\)[^\]\n]*\\)"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue