mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-20 16:11:07 -05:00
term/eshell: integrate company + pcomplete
This commit is contained in:
@@ -175,7 +175,13 @@ Once the eshell process is killed, the previous frame layout is restored."
|
||||
bottom. This ties pcomplete into ivy or helm, if they are enabled."
|
||||
(interactive)
|
||||
(require 'pcomplete)
|
||||
(ignore-errors (pcomplete-std-complete)))
|
||||
(if (and (bound-and-true-p company-mode)
|
||||
(or company-candidates
|
||||
(and (company-pcomplete-available)
|
||||
(company-pcomplete--prefix)
|
||||
(company-pcomplete--candidates))))
|
||||
(call-interactively #'company-pcomplete)
|
||||
(ignore-errors (pcomplete-std-complete))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +eshell/quit-or-delete-char (arg)
|
||||
|
Reference in New Issue
Block a user