Skip to content

Commit

Permalink
fix: Copilot settings should work again
Browse files Browse the repository at this point in the history
+ Add copilot to additional packages and
+ Find the node executable from system path
  • Loading branch information
Maverobot committed Dec 14, 2023
1 parent 1343eac commit 0677563
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -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 '()

Expand Down
2 changes: 1 addition & 1 deletion spacemacs.org
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0677563

Please sign in to comment.