Configure global bun settings
This commit is contained in:
parent
1436f70db6
commit
dffae79a9d
3 changed files with 11 additions and 18 deletions
9
config/bun/bunfig.toml
Normal file
9
config/bun/bunfig.toml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[install]
|
||||
minimumReleaseAge = 259200
|
||||
minimumReleaseAgeExcludes = []
|
||||
auto = "disable"
|
||||
linker = "isolated"
|
||||
exact = true
|
||||
|
||||
[install.lockfile]
|
||||
save = true
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -136,5 +136,6 @@
|
|||
};
|
||||
|
||||
xdg.configFile."aerospace/aerospace.toml".text = builtins.readFile ../config/aerospace/aerospace.toml;
|
||||
xdg.configFile.".bunfig.toml".text = builtins.readFile ../config/bun/bunfig.toml;
|
||||
xdg.configFile."ghostty/config".text = builtins.readFile ../config/ghostty/config;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue