Skip to content

Commit 5fa27b5

Browse files
authored
Fix #352 again (#357)
1 parent 2ba5426 commit 5fa27b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

copilot.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,8 +894,8 @@ provided."
894894
(beginning-of-line)
895895
(not (= (point) completion-start))))
896896
(setq start completion-start)
897-
(setq end (- end (- (point) completion-start)))
898897
(delete-region completion-start (point)))
898+
(setq start end)
899899
(copilot--async-request 'notifyAccepted (list :uuid uuid))
900900
(copilot-clear-overlay t)
901901
(if (derived-mode-p 'vterm-mode)

0 commit comments

Comments
 (0)