Enable eglot and copilot in yaml-mode (and copilot in json mode too)
This commit is contained in:
parent
9dfffe3654
commit
9a7a320f8a
@ -208,6 +208,7 @@
|
||||
(ruby-ts-mode . eglot-ensure)
|
||||
(sh-mode . eglot-ensure)
|
||||
(bash-ts-mode . eglot-ensure)
|
||||
(yaml-mode . eglot-ensure)
|
||||
:custom
|
||||
(eglot-confirm-server-initiated-edits nil)
|
||||
(eglot-connect-timeout nil))
|
||||
@ -233,7 +234,9 @@
|
||||
;; AI assistance
|
||||
(use-package copilot
|
||||
:straight (:host github :repo "copilot-emacs/copilot.el" :files ("dist" "*.el"))
|
||||
:hook (prog-mode . copilot-mode)
|
||||
:hook ((prog-mode . copilot-mode)
|
||||
(yaml-mode . copilot-mode)
|
||||
(json-mode . copilot-mode))
|
||||
:general
|
||||
(prog-mode-map "C-c <tab>" #'copilot-complete)
|
||||
(copilot-completion-map "C-n" #'copilot-next-completion
|
||||
|
@ -52,6 +52,7 @@ brew "terraform-ls"
|
||||
brew "texinfo"
|
||||
brew "typescript-language-server"
|
||||
brew "vscode-langservers-extracted"
|
||||
brew "yaml-language-server"
|
||||
brew "youtube-dl"
|
||||
cask "alfred"
|
||||
cask "bartender"
|
||||
|
Loading…
Reference in New Issue
Block a user