removed copilot rip

This commit is contained in:
EliasVincent 2025-01-13 21:27:46 +01:00
parent b5c13c5b3d
commit 3bdf5975f2
2 changed files with 11 additions and 11 deletions

View File

@ -134,7 +134,7 @@
(after! corfu (after! corfu
(setq corfu-auto t ;; Enable auto completion (setq corfu-auto t ;; Enable auto completion
corfu-auto-delay 0.0 ;; No delay for 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-preview-current t ;; Preview current candidate
corfu-preselect 'prompt ;; Preselect first item corfu-preselect 'prompt ;; Preselect first item
corfu-popupinfo-delay '(0.5 . 0.2)) ;; Show docs after 0.5 sec 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-delay 0.2 ;; Delay before showing
lsp-ui-doc-position 'at-point)) ;; Show at point instead of sidebar lsp-ui-doc-position 'at-point)) ;; Show at point instead of sidebar
;; accept completion from copilot and fallback to completion ;; accept completion from copilot and fallback to completion
(use-package! copilot ;; (use-package! copilot
:hook (prog-mode . copilot-mode) ;; :hook (prog-mode . copilot-mode)
:bind (:map copilot-completion-map ;; :bind (:map copilot-completion-map
("<tab>" . 'copilot-accept-completion) ;; ("<tab>" . 'copilot-accept-completion)
("TAB" . 'copilot-accept-completion) ;; ("TAB" . 'copilot-accept-completion)
("C-TAB" . 'copilot-accept-completion-by-word) ;; ("C-TAB" . 'copilot-accept-completion-by-word)
("C-<tab>" . 'copilot-accept-completion-by-word))) ;; ("C-<tab>" . 'copilot-accept-completion-by-word)))
(whole-line-or-region-global-mode 1) ;; (whole-line-or-region-global-mode 1)
;; very clean me like ;; very clean me like
;; (defun concatenate-org-files (directory) ;; (defun concatenate-org-files (directory)

View File

@ -54,6 +54,6 @@
(package! editorconfig) (package! editorconfig)
(package! jsonrpc) (package! jsonrpc)
(package! copilot ;;(package! copilot
:recipe (:host github :repo "copilot-emacs/copilot.el" :files ("*.el"))) ;; :recipe (:host github :repo "copilot-emacs/copilot.el" :files ("*.el")))
(package! whole-line-or-region) (package! whole-line-or-region)