Load dependencies of copilot outside of config
This commit is contained in:
parent
6668ce921d
commit
9d203c48e2
1 changed files with 6 additions and 4 deletions
|
|
@ -91,10 +91,6 @@
|
||||||
:bind ("M-C-<return>" . copilot-accept-completion)
|
:bind ("M-C-<return>" . copilot-accept-completion)
|
||||||
:commands (copilot-login global-copilot-mode)
|
:commands (copilot-login global-copilot-mode)
|
||||||
:config
|
:config
|
||||||
(use-package editorconfig)
|
|
||||||
(use-package dash)
|
|
||||||
(use-package s)
|
|
||||||
|
|
||||||
(defun to/copilot-disable-predicate ()
|
(defun to/copilot-disable-predicate ()
|
||||||
(member major-mode '(shell-mode
|
(member major-mode '(shell-mode
|
||||||
eshell-mode
|
eshell-mode
|
||||||
|
|
@ -116,6 +112,8 @@
|
||||||
:init
|
:init
|
||||||
(global-corfu-mode))
|
(global-corfu-mode))
|
||||||
|
|
||||||
|
(use-package dash)
|
||||||
|
|
||||||
(use-package dired
|
(use-package dired
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:init
|
:init
|
||||||
|
|
@ -165,6 +163,8 @@
|
||||||
(mapc #'disable-theme custom-enabled-themes)
|
(mapc #'disable-theme custom-enabled-themes)
|
||||||
(load-theme 'ef-winter :no-confirm))
|
(load-theme 'ef-winter :no-confirm))
|
||||||
|
|
||||||
|
(use-package editorconfig)
|
||||||
|
|
||||||
(use-package eglot
|
(use-package eglot
|
||||||
:hook
|
:hook
|
||||||
(swift-mode . eglot-ensure)
|
(swift-mode . eglot-ensure)
|
||||||
|
|
@ -366,6 +366,8 @@
|
||||||
|
|
||||||
(use-package restclient)
|
(use-package restclient)
|
||||||
|
|
||||||
|
(use-package s)
|
||||||
|
|
||||||
(use-package savehist
|
(use-package savehist
|
||||||
:init
|
:init
|
||||||
(savehist-mode))
|
(savehist-mode))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue