Configure global bun settings
This commit is contained in:
parent
1436f70db6
commit
dffae79a9d
3 changed files with 11 additions and 18 deletions
|
|
@ -81,26 +81,9 @@
|
|||
(completion-list-mode . consult-preview-at-point-mode))
|
||||
|
||||
(use-package copilot
|
||||
:hook (prog-mode . copilot-mode)
|
||||
:bind (:map copilot-completion-map
|
||||
("C-<tab>" . copilot-accept-completion)
|
||||
("M-C-<tab>" . copilot-accept-completion-by-word))
|
||||
:commands (copilot-login)
|
||||
:custom (copilot-indent-offset-warning-disable t)
|
||||
:config
|
||||
(add-to-list 'copilot-indentation-alist '(prog-mode 2))
|
||||
(defun to/copilot-disable-predicate ()
|
||||
(member major-mode '(shell-mode
|
||||
eshell-mode
|
||||
term-mode
|
||||
vterm-mode
|
||||
compilation-mode
|
||||
debugger-mode
|
||||
dired-mode
|
||||
compilation-mode
|
||||
minibuffer-mode
|
||||
vertico-mode)))
|
||||
(add-to-list 'copilot-disable-predicates #'to/copilot-disable-predicate))
|
||||
("M-C-<tab>" . copilot-accept-completion-by-word)))
|
||||
|
||||
(use-package corfu
|
||||
:custom
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue