diff --git a/init.el b/init.el index 9138c81..1d73a3e 100644 --- a/init.el +++ b/init.el @@ -189,7 +189,11 @@ This function should only modify configuration layer settings." org-roam-ui org-ai ssh-agency - greader) + greader + (copilot :location (recipe + :fetcher github + :repo "zerolfx/copilot.el" + :files ("*.el" "dist")))) ;; A list of packages that cannot be updated. dotspacemacs-frozen-packages '() diff --git a/spacemacs.org b/spacemacs.org index 532cffe..18731c5 100644 --- a/spacemacs.org +++ b/spacemacs.org @@ -269,7 +269,7 @@ Autocompletion config for launch files. *** copilot #+BEGIN_SRC emacs-lisp :tangle user-config.el - (setq copilot-node-executable "/usr/bin/node") + (setq copilot-node-executable (executable-find "node")) (with-eval-after-load 'company ;; disable inline previews