Make insert function to use corfu's functions and update overlay
This commit is contained in:
parent
6cdc33aa21
commit
f4af7f901f
1 changed files with 3 additions and 2 deletions
|
@ -342,8 +342,9 @@ the end of word."
|
|||
(and corfu-candidate-overlay--overlay
|
||||
(overlayp corfu-candidate-overlay--overlay)
|
||||
(corfu-candidate-overlay-at-word-boundary-p))
|
||||
|
||||
(insert (corfu-candidate-overlay--get-overlay-property 'corfu-candidate))))
|
||||
(corfu-candidate-overlay--show)
|
||||
(corfu-insert)
|
||||
(corfu-quit)))
|
||||
|
||||
;;;###autoload
|
||||
(define-minor-mode corfu-candidate-overlay-mode
|
||||
|
|
Loading…
Reference in a new issue