From 3bdf5975f262caf27a4a930bfc1bcb5b277ea125 Mon Sep 17 00:00:00 2001 From: EliasVincent Date: Mon, 13 Jan 2025 21:27:46 +0100 Subject: [PATCH] removed copilot rip --- config.el | 18 +++++++++--------- packages.el | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/config.el b/config.el index d415caf..06af2d9 100644 --- a/config.el +++ b/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 - ("" . 'copilot-accept-completion) - ("TAB" . 'copilot-accept-completion) - ("C-TAB" . 'copilot-accept-completion-by-word) - ("C-" . '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 +;; ("" . 'copilot-accept-completion) +;; ("TAB" . 'copilot-accept-completion) +;; ("C-TAB" . 'copilot-accept-completion-by-word) +;; ("C-" . 'copilot-accept-completion-by-word))) +;; (whole-line-or-region-global-mode 1) ;; very clean me like ;; (defun concatenate-org-files (directory) diff --git a/packages.el b/packages.el index 9d56bd3..c196f76 100644 --- a/packages.el +++ b/packages.el @@ -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)