Add copilot
This commit is contained in:
parent
4a4a7abfca
commit
6e824312e0
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "home-manager/modules/programs/emacs/emacs.d/lib/copilot"]
|
||||||
|
path = home-manager/modules/programs/emacs/emacs.d/lib/copilot
|
||||||
|
url = https://github.com/zerolfx/copilot.el.git
|
|
@ -11,6 +11,7 @@ in
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
fd
|
fd
|
||||||
multimarkdown
|
multimarkdown
|
||||||
|
nodejs_20 # required for copilot
|
||||||
unstable.nixd # Nix language server
|
unstable.nixd # Nix language server
|
||||||
pandoc
|
pandoc
|
||||||
ripgrep
|
ripgrep
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
(use-package dash
|
||||||
|
:defer t)
|
||||||
|
|
||||||
|
(use-package editorconfig
|
||||||
|
:defer t)
|
||||||
|
|
||||||
|
(use-package s
|
||||||
|
:defer t)
|
||||||
|
|
||||||
|
(use-package copilot
|
||||||
|
:load-path "~/.nixos/home-manager/modules/programs/emacs/emacs.d/lib/copilot"
|
||||||
|
:hook (prog-mode-hook . copilot-mode)
|
||||||
|
:config
|
||||||
|
(define-key copilot-completion-map (kbd "<tab>") 'copilot-accept-completion)
|
||||||
|
(define-key copilot-completion-map (kbd "TAB") 'copilot-accept-completion))
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit ba1d6018fdc2d735fecab1b2dcd4b5ea121b05ac
|
|
@ -31,6 +31,7 @@
|
||||||
;; programming
|
;; programming
|
||||||
(load-file (modules-path "az_annotate.el"))
|
(load-file (modules-path "az_annotate.el"))
|
||||||
(load-file (modules-path "az_company.el"))
|
(load-file (modules-path "az_company.el"))
|
||||||
|
(load-file (modules-path "az_copilot.el"))
|
||||||
(load-file (modules-path "az_direnv.el"))
|
(load-file (modules-path "az_direnv.el"))
|
||||||
(load-file (modules-path "az_format_all.el"))
|
(load-file (modules-path "az_format_all.el"))
|
||||||
(load-file (modules-path "az_flycheck.el"))
|
(load-file (modules-path "az_flycheck.el"))
|
||||||
|
|
Loading…
Reference in New Issue