mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-13 23:51:34 +09:00
emacs : copilot support
This commit is contained in:
@ -47,6 +47,9 @@
|
||||
custom-org-roam-directory "~/org/roam"
|
||||
custom-org-agenda-file "~/org/agenda/agenda.org")
|
||||
|
||||
;; Line numbers, relative or comment this line
|
||||
(setq display-line-numbers-type 'relative)
|
||||
|
||||
;; Chatgpt setup
|
||||
(setq custom-chatgpt-my-key "my-key")
|
||||
|
||||
|
||||
@ -114,5 +114,7 @@ Otherwise the startup will be very slow. "
|
||||
|
||||
(require 'init-extra)
|
||||
(require 'init-chatgpt)
|
||||
|
||||
(require 'init-copilot)
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;; init.el ends here
|
||||
|
||||
8
.config/emacs/lisp/init-copilot.el
Normal file
8
.config/emacs/lisp/init-copilot.el
Normal file
@ -0,0 +1,8 @@
|
||||
;; init-copilot.el -*- lexical-binding: t -*-
|
||||
(add-to-list 'load-path "~/.config/emacs/copilot.el")
|
||||
(require 'copilot)
|
||||
|
||||
(add-hook 'prog-mode-hook 'copilot-mode)
|
||||
|
||||
(provide 'init-copilot)
|
||||
;;; init-copilot.el ends here
|
||||
Reference in New Issue
Block a user