copilot.el icon indicating copy to clipboard operation
copilot.el copied to clipboard

No applicable method: jsonrpc--request-continuations

Open Mariownyou opened this issue 3 years ago • 2 comments

Mariownyou avatar Jul 27 '22 10:07 Mariownyou

Mac m1 config:

    (use-package copilot
      :straight (:host github :repo "zerolfx/copilot.el" :files ("dist" "*.el"))
      :ensure t)


    (add-hook 'prog-mode-hook 'copilot-mode)

    ; complete by copilot first, then company-mode
    (defun my-tab ()
      (interactive)
      (or (copilot-accept-completion)
          (company-indent-or-complete-common nil)))

    ; modify company-mode behaviors
    (with-eval-after-load 'company
      ;; disable inline previews
      (delq 'company-preview-if-just-one-frontend company-frontends)

      (define-key company-mode-map (kbd "<tab>") 'my-tab)
      (define-key company-mode-map (kbd "TAB") 'my-tab)
      (define-key company-active-map (kbd "<tab>") 'my-tab)
      (define-key company-active-map (kbd "TAB") 'my-tab))

Mariownyou avatar Jul 27 '22 10:07 Mariownyou

dup of #23?

zerolfx avatar Jul 27 '22 17:07 zerolfx

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Apr 05 '23 01:04 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Apr 10 '23 02:04 github-actions[bot]