mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -05:00
Fix evil-complete-(next|previous) regression
This commit is contained in:
@ -1,13 +1,13 @@
|
|||||||
;;; defuns-company.el
|
;;; defuns-company.el
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun narf/company-evil-complete-next ()
|
(defun narf/company-evil-complete-next (&optional arg)
|
||||||
(call-interactively 'company-dabbrev)
|
(call-interactively 'company-dabbrev)
|
||||||
(if (eq company-candidates-length 1)
|
(if (eq company-candidates-length 1)
|
||||||
(company-complete)))
|
(company-complete)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun narf/company-evil-complete-previous ()
|
(defun narf/company-evil-complete-previous (&optional arg)
|
||||||
(let ((company-selection-wrap-around t))
|
(let ((company-selection-wrap-around t))
|
||||||
(call-interactively 'company-dabbrev)
|
(call-interactively 'company-dabbrev)
|
||||||
(if (eq company-candidates-length 1)
|
(if (eq company-candidates-length 1)
|
||||||
|
Reference in New Issue
Block a user