removed copilot rip
This commit is contained in:
parent
b5c13c5b3d
commit
3bdf5975f2
18
config.el
18
config.el
|
@ -134,7 +134,7 @@
|
|||
(after! corfu
|
||||
(setq corfu-auto t ;; Enable auto completion
|
||||
corfu-auto-delay 0.0 ;; No delay for completion
|
||||
corfu-auto-prefix 1 ;; Complete after 1 character
|
||||
corfu-auto-prefix 2 ;; Complete after 2 characters
|
||||
corfu-preview-current t ;; Preview current candidate
|
||||
corfu-preselect 'prompt ;; Preselect first item
|
||||
corfu-popupinfo-delay '(0.5 . 0.2)) ;; Show docs after 0.5 sec
|
||||
|
@ -154,14 +154,14 @@
|
|||
lsp-ui-doc-delay 0.2 ;; Delay before showing
|
||||
lsp-ui-doc-position 'at-point)) ;; Show at point instead of sidebar
|
||||
;; accept completion from copilot and fallback to completion
|
||||
(use-package! copilot
|
||||
:hook (prog-mode . copilot-mode)
|
||||
:bind (:map copilot-completion-map
|
||||
("<tab>" . 'copilot-accept-completion)
|
||||
("TAB" . 'copilot-accept-completion)
|
||||
("C-TAB" . 'copilot-accept-completion-by-word)
|
||||
("C-<tab>" . 'copilot-accept-completion-by-word)))
|
||||
(whole-line-or-region-global-mode 1)
|
||||
;; (use-package! copilot
|
||||
;; :hook (prog-mode . copilot-mode)
|
||||
;; :bind (:map copilot-completion-map
|
||||
;; ("<tab>" . 'copilot-accept-completion)
|
||||
;; ("TAB" . 'copilot-accept-completion)
|
||||
;; ("C-TAB" . 'copilot-accept-completion-by-word)
|
||||
;; ("C-<tab>" . 'copilot-accept-completion-by-word)))
|
||||
;; (whole-line-or-region-global-mode 1)
|
||||
|
||||
;; very clean me like
|
||||
;; (defun concatenate-org-files (directory)
|
||||
|
|
|
@ -54,6 +54,6 @@
|
|||
|
||||
(package! editorconfig)
|
||||
(package! jsonrpc)
|
||||
(package! copilot
|
||||
:recipe (:host github :repo "copilot-emacs/copilot.el" :files ("*.el")))
|
||||
;;(package! copilot
|
||||
;; :recipe (:host github :repo "copilot-emacs/copilot.el" :files ("*.el")))
|
||||
(package! whole-line-or-region)
|
||||
|
|
Loading…
Reference in New Issue